File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
react-spaces/src/components Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import './FixedSizeContainer.scss';
3
3
import * as Spaces from './Space' ;
4
4
5
5
interface IProps {
6
+ className ?: string ,
6
7
style ?: React . CSSProperties ,
7
8
width ?: number ,
8
9
height : number
@@ -19,7 +20,7 @@ export const Fixed : React.FC<IProps> = (props) => {
19
20
20
21
return (
21
22
< div
22
- className = ' spaces-fixedsize-layout'
23
+ className = { ` spaces-fixedsize-layout${ props . className ? ` ${ props . className } ` : `` } ` }
23
24
style = { style } >
24
25
25
26
< Spaces . Fill >
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import './FullPageContainer.scss';
3
3
import * as Spaces from './Space' ;
4
4
5
5
interface IProps {
6
+ className ?: number ,
6
7
left ?: number ,
7
8
top ?: number ,
8
9
right ?: number ,
@@ -11,7 +12,7 @@ interface IProps {
11
12
12
13
export const ViewPort : React . FC < IProps > = ( props ) => (
13
14
< div
14
- className = ' spaces-fullpage-layout'
15
+ className = { ` spaces-fullpage-layout${ props . className ? ` ${ props . className } ` : `` } ` }
15
16
style = { {
16
17
left : props . left || 0 ,
17
18
top : props . top || 0 ,
You can’t perform that action at this time.
0 commit comments