Last active
May 27, 2022 19:23
-
-
Save MarekZeman91/812bc952ed06e4d9f4dfaeeb91392450 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { createElement, CSSProperties, FC } from 'react'; | |
export type CSSBoxProps = CSSProperties & { className?: string }; | |
export const CSSBox: FC<CSSBoxProps> = ({ children, className, ...style }) => { | |
return createElement('div', { className, style }, children); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment