UNPKG

spacery

Version:

Space Modifier utilities for working with React

15 lines (11 loc) 392 B
declare function Spacery({ children, style, ...props }: { [x: string]: any; children: any; style: any; }): JSX.Element; declare function withSpacery(Component: any, dimensionUnit: any): ({ style, ...props }: { [x: string]: any; style: any; }) => JSX.Element; declare function modsToStyle(mods: any, dimUnit?: string): any; export { Spacery, modsToStyle, withSpacery };