UNPKG

@open-condo/ui

Version:

A set of React UI components for developing applications inside the condo ecosystem

21 lines 890 B
import React from 'react'; import './cardCheckbox.less'; import { CardBodyProps } from '../body/cardBody'; import { CardHeaderProps } from '../header/cardHeader'; import type { CardProps } from '../card'; export type CardCheckboxProps = Pick<CardProps, 'disabled' | 'className'> & { header?: Omit<CardHeaderProps, 'tag' | 'mainLink' | 'secondLink'>; body?: CardBodyProps; defaultChecked?: boolean; onChange?: (newValue: boolean) => void; checked?: boolean; }; declare const CardCheckbox: React.ForwardRefExoticComponent<Pick<CardProps, "className" | "disabled"> & { header?: Omit<CardHeaderProps, "tag" | "mainLink" | "secondLink">; body?: CardBodyProps; defaultChecked?: boolean; onChange?: (newValue: boolean) => void; checked?: boolean; } & React.RefAttributes<HTMLDivElement>>; export { CardCheckbox, }; //# sourceMappingURL=cardCheckbox.d.ts.map