UNPKG

@ozen-ui/kit

Version:

React component library

12 lines (11 loc) 626 B
import type { ListCardItemBackgroundColorScheme, ListCardItemBorderColorScheme, ListCardItemSizeVariant, ListCardItemVariant } from '../ListCardItem'; export type ListCardContextValue = { size: ListCardItemSizeVariant; variant: ListCardItemVariant; contentTrailingRatio: number; backgroundColorScheme: ListCardItemBackgroundColorScheme; borderColorScheme: ListCardItemBorderColorScheme | undefined; interactive: boolean; }; export declare const ListCardContext: import("react").Context<ListCardContextValue | undefined>; export declare const useListCardContext: () => ListCardContextValue | undefined;