mirror of
https://github.com/penpot/penpot-exporter-figma-plugin.git
synced 2024-12-23 06:04:01 -05:00
16 lines
336 B
TypeScript
16 lines
336 B
TypeScript
|
import { CSSProperties, PropsWithChildren } from 'react';
|
||
|
|
||
|
import styles from './Wrapper.module.css';
|
||
|
|
||
|
type WrapperProps = PropsWithChildren & {
|
||
|
style?: CSSProperties;
|
||
|
};
|
||
|
|
||
|
export const Wrapper = ({ style, children }: WrapperProps) => {
|
||
|
return (
|
||
|
<div className={styles.wrapper} style={style}>
|
||
|
{children}
|
||
|
</div>
|
||
|
);
|
||
|
};
|