UNPKG

@vitus-labs/rocketstyle

Version:

Rocketstyle is ultra powerful and extensible styling system for building React components blazingly fast, easily and make them easily extensible and reusable.

13 lines 603 B
import type { ElementType } from "./types/utils"; import type { Dimensions, DefaultDimensions } from "./types/dimensions"; import type { RocketComponent } from "./types/rocketComponent"; export type Rocketstyle = <D extends Dimensions = DefaultDimensions, UB extends boolean = true>({ dimensions, useBooleans, }?: { dimensions?: D; useBooleans?: UB; }) => <C extends ElementType>({ name, component, }: { name: string; component: C; }) => ReturnType<RocketComponent<C, {}, {}, D, UB>>; declare const rocketstyle: Rocketstyle; export default rocketstyle; //# sourceMappingURL=init.d.ts.map