@yamada-ui/checkbox
Version:
Yamada UI checkbox component
28 lines (25 loc) • 711 B
TypeScript
import * as _yamada_ui_core from '@yamada-ui/core';
import { HTMLUIProps } from '@yamada-ui/core';
import { ReactElement } from 'react';
interface CheckboxCardLabelProps extends HTMLUIProps {
/**
* The icon of the checkbox card.
*/
icon?: ReactElement;
/**
* If `true`, the icon will be displayed.
*
* @default true
*/
withIcon?: boolean;
/**
* The props for the label content.
*/
contentProps?: HTMLUIProps<"span">;
/**
* The props for the icon.
*/
iconProps?: HTMLUIProps;
}
declare const CheckboxCardLabel: _yamada_ui_core.Component<"div", CheckboxCardLabelProps>;
export { CheckboxCardLabel, type CheckboxCardLabelProps };