@cmk/fe_utils
Version:
frontend utility library
26 lines (24 loc) • 1.03 kB
TypeScript
import { ListItemButtonProps, ListItemIconProps, ListItemProps, ListItemTextProps } from '@mui/material';
import { IconProps } from '@mdi/react/dist/IconProps';
export type CListItemProps = {
selectedValue: string;
onChange: (newValue: string) => void;
disablePadding: boolean;
item: any;
itemIdx: number;
listItemTextSlotProps: any;
itemHoverBgColor?: string;
activeItemBgColor?: string;
activeItemHoverBgColor?: string;
slotProps?: {
listItem?: ListItemProps;
listItemButton?: ListItemButtonProps;
listItemIconRoot?: ListItemIconProps;
listItemIcon?: IconProps;
listItemTextContainer?: ListItemTextProps;
listItemTextPrimaryTypography?: ListItemTextProps['primaryTypographyProps'];
listItemTextSecondaryTypography?: ListItemTextProps['secondaryTypographyProps'];
touchRipple?: ListItemButtonProps['TouchRippleProps'];
};
};
export declare const CListItem: (props: CListItemProps) => import("react/jsx-runtime").JSX.Element;