- Preparing search index...
- The search index is not available
@fold-dev/core
- DarkModeButton(props): ReactElement<any, string | JSXElementConstructor<any>>
-
Parameters
-
props: {
darkMode?: ReactElement<any, string | JSXElementConstructor<any>>;
lightMode?: ReactElement<any, string | JSXElementConstructor<any>>;
size?: Size;
} & {
active?: boolean;
as?: "button" | "a";
disabled?: boolean;
ellipsis?: boolean;
flat?: boolean;
form?: string;
href?: string;
loading?: boolean;
onClick?: any;
outline?: boolean;
prefix?: ReactElement<any, string | JSXElementConstructor<any>>;
size?: Size;
subtle?: boolean;
suffix?: ReactElement<any, string | JSXElementConstructor<any>>;
target?: LinkTarget;
type?: "button" | "submit";
underlined?: boolean;
variant?: Variant;
} & AriaAttributes & CommonProps & ShorthandProps & DOMAttributes<any> & RefAttributes<unknown>
Returns ReactElement<any, string | JSXElementConstructor<any>>
NOTE: Exotic components are not callable.