UNPKG

@toyu-ui/solid

Version:

<p align="center"> <h1><span style="color: #4a90e2;">T</span><span style="color: #007aff;">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;