import { OverridableComponent, OverrideProps } from "../OverridableComponent";
import { Theme } from "../styles";
import { ListClasses } from "./listClasses";
import { SxProps } from "@suid/system";
import { ElementType, OverridableTypeMap } from "@suid/types";
import { JSXElement } from "solid-js";
export interface ListTypeMap
{
name: "MuiList";
defaultPropNames: "dense" | "disablePadding";
selfProps: {
/**
* The content of the component.
*/
children?: JSXElement;
/**
* Override or extend the styles applied to the component.
*/
classes?: Partial;
/**
* If `true`, compact vertical padding designed for keyboard and mouse input is used for
* the list and list items.
* The prop is available to descendant components as the `dense` context.
* @default false
*/
dense?: boolean;
/**
* If `true`, vertical padding is removed from the list.
* @default false
*/
disablePadding?: boolean;
/**
* The content of the subheader, normally `ListSubheader`.
*/
subheader?: JSXElement;
/**
* The system prop that allows defining system overrides as well as additional CSS styles.
*/
sx?: SxProps;
};
props: P & ListTypeMap["selfProps"];
defaultComponent: D;
}
/**
* utility to create component types that inherit props from List.
*/
export interface ExtendListTypeMap {
props: M["props"] & ListTypeMap["props"];
defaultComponent: M["defaultComponent"];
}
export type ExtendList = OverridableComponent>;
export type ListProps = OverrideProps, D>;
export default ListProps;
//# sourceMappingURL=ListProps.d.ts.map