UNPKG

fui-fancyui

Version:
23 lines (22 loc) 987 B
import { ReactNode } from 'react'; import { TFancyLineWithHTMLAttributes } from '../../atoms/FancyLine/TFancyLine.model'; import { TTitleForComponent } from '../../atoms/TitleForComponent'; import { TListBoxWithFancyBoxAttrs } from '../../molecules/ListBox'; import { TListBoxItemProps } from '../../molecules/ListBox/ListBoxItem/TListBoxItem.model'; import { TLayer } from '../../../types/TLayer'; import { TUiColorsMain } from '../../../types/TUiColorsMain'; export type TFancyListBox = { children?: ReactNode; seperator?: TFancyLineWithHTMLAttributes | null; boxTitle?: { align?: TTitleForComponent['align']; title: TTitleForComponent['title']; gap?: TTitleForComponent['gap']; }; themeType?: Exclude<TUiColorsMain, 'accent'>; layer?: TLayer; itemSettings?: TListBoxItemProps; outlined?: boolean; outlinedBackgroundStrength?: number; }; export type TFancyListBoxWithListBoxAttrs = TFancyListBox & TListBoxWithFancyBoxAttrs;