UNPKG

@toyu-ui/solid

Version:

<p align="center"> <h1><span color="blue">T</span><span color="cyan">Y</span>UI</h1> </p>

14 lines (13 loc) 612 B
import { JSX } from 'solid-js'; import { TyuiButtonAppearance, TyuiButtonIconPosition, TyuiButtonShape, TyuiButtonSize, TyuiButtonType } from '@toyu-ui/elements/button'; export type ButtonProps = { appearance?: TyuiButtonAppearance | undefined; disabled?: boolean | undefined; disabledFocusable?: boolean | undefined; iconPosition?: TyuiButtonIconPosition | undefined; shape?: TyuiButtonShape | undefined; size?: TyuiButtonSize | undefined; type?: TyuiButtonType | undefined; children?: JSX.Element | undefined; }; export declare function Button(props: ButtonProps): JSX.Element;