UNPKG

@itgold/grandbazar-ui-kit

Version:

Grandbazar.io UI component library: React, Typescript, Tailwind, Rollup, Storybook, Jest.

10 lines (9 loc) 303 B
/// <reference types="react" /> export type TRulesElementProps = { text: string; color: string; disabled?: boolean; children: React.ReactNode; onClick: () => void; }; export declare function Rule({ children, text, color, onClick, disabled }: TRulesElementProps): React.ReactElement;