You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
361 B
TypeScript
17 lines
361 B
TypeScript
3 years ago
|
import * as React from 'react';
|
||
|
import styles from './index.less';
|
||
|
|
||
|
export default ({children, style = {}}: any) => {
|
||
|
return (
|
||
|
<div
|
||
|
className={styles.root}
|
||
|
style={{
|
||
|
width: '100%',
|
||
|
height: '100%',
|
||
|
...style
|
||
|
}}
|
||
|
>
|
||
|
{children}
|
||
|
</div>
|
||
|
);
|
||
|
};
|