import { ForwardedRef, FunctionComponent, PropsWithChildren, ReactHTML, ReactNode } from 'react'; import { ThemeColorVariables } from '@dreipol/t3-react-theme'; export type ListItemProps
= PropsWithChildren<{ /** * Custom className */ className?: string; /** * Custom prefix */ prefix?: ReactNode; /** * Custom suffix */ suffix?: ReactNode; /** * Custom click handler */ onClick?: () => void; /** * Custom theme color */ color?: ThemeColorVariables; /** * Active state */ active?: boolean; /** * Render in disabled state */ disabled?: boolean; /** * Render hover effect for item */ interactive?: boolean; /** * Variant */ as?: FunctionComponent
| keyof ReactHTML;
ref?: ForwardedRef ({ children, disabled, active, color, onClick, prefix, suffix, className, interactive, as, ref, ...rest }: ListItemProps ): import("react/jsx-runtime").JSX.Element;