import { OverrideProps } from "../OverridableComponent"; import { Theme } from "../styles"; import { ListItemClasses } from "./listItemClasses"; import { SxProps } from "@suid/system"; import { ElementType } from "@suid/types"; import { ComponentProps, JSXElement } from "solid-js"; export interface ListItemComponentsPropsOverrides { } export interface ListItemTypeMap
{
name: "MuiListItem";
defaultPropNames: "alignItems" | "autoFocus" | "dense" | "disableGutters" | "disablePadding" | "divider" | "components" | "componentsProps";
selfProps: {
/**
* Defines the `align-items` style property.
* @default 'center'
*/
alignItems?: "flex-start" | "center";
/**
* If `true`, the list item is focused during the first mount.
* Focus will also be triggered if the value changes from false to true.
* @default false
* @deprecated checkout [ListItemButton](/api/list-item-button/) instead
*/
autoFocus?: boolean;
/**
* The content of the component if a `ListItemSecondaryAction` is used it must
* be the last child.
*/
children?: JSXElement;
/**
* Override or extend the styles applied to the component.
*/
classes?: Partial