UNPKG

@aveonline/ui-react

Version:

Home base for Aveonline design system - ecosystem react

37 lines (36 loc) 848 B
/// <reference types="react" /> import { _TProps } from '@/types'; import { IKind, IKindLogo } from '../../..'; interface ICardSelect { id: string; title: string; legend?: string; sublegend?: string; icons?: IKind; subtitle?: string; description?: string; state?: string; img?: JSX.Element; hasRadio?: boolean; isDisabled?: boolean; error?: string; logo?: IKindLogo; isLoading?: boolean; route?: string; [rest: string]: any; } declare type IPropsCardSelect = { /** * Array items with content for card */ items: ICardSelect[]; /** * Checked item */ checkedItem: ICardSelect | undefined; /** * Event handler for change selection */ onChange: (value: ICardSelect) => void; } & _TProps; export type { IPropsCardSelect, ICardSelect };