mirror of
https://github.com/penpot/penpot-exporter-figma-plugin.git
synced 2025-01-18 05:22:28 -05:00
3ee244db92
* add figma-create-plugin ui * first attempt * more changes * update packages * fix stuff * implement reload action * simplify code * create wrapper * fix logo * adjust sizes * add changelog * update design again * temporary fix --------- Co-authored-by: Alex Sánchez <sion333@gmail.com>
15 lines
336 B
TypeScript
15 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>
|
|
);
|
|
};
|