fui-fancyui
Version:
FancyUI Libary
13 lines (12 loc) • 451 B
TypeScript
import { TFieldsetWithHTMLAttributes } from '../../molecules/Fieldset';
import { TFancyListBox } from '../../organisms/FancyListBox';
export interface TFancyRadioListItem {
title: string;
description?: string;
itemKey: string;
}
export type TFancyRadioList = {
items: TFancyRadioListItem[];
name: string;
handler?: (itemKey: string) => void;
} & Omit<TFieldsetWithHTMLAttributes, 'children'> & Omit<TFancyListBox, 'children'>;