UNPKG

@cerberus-design/react

Version:

The Cerberus Design React component library.

27 lines (26 loc) 646 B
import { ElementType } from 'react'; /** * This module contains the parts of the Button component. * @module 'button/parts' */ interface ButtonPartsValue { /** * The context provider of the button. */ Root: ElementType; /** * The icon of the button. */ Icon: ElementType; } /** * An Object containing the parts of the Button component. For users that * prefer Object component syntax. * * @remarks * * When using object component syntax, you import the ButtonParts object and * the entire family of components vs. only what you use. */ export declare const ButtonParts: ButtonPartsValue; export {};