preact-material-components
Version:
preact wrapper for "Material Components for the web"
105 lines (104 loc) • 3.84 kB
TypeScript
import MaterialComponent from '../Base/MaterialComponent';
export interface IListItemProps {
}
export interface IListItemState {
}
export declare class ListItem<PropTypes = {}, StateTypes = {}> extends MaterialComponent<IListItemProps & PropTypes, IListItemState & StateTypes> {
protected componentName: string;
protected mdcProps: string[];
protected materialDom(props: any): JSX.Element;
}
export declare class ListLinkItem<PropTypes = {}, StateTypes = {}> extends MaterialComponent<PropTypes, StateTypes> {
protected componentName: string;
protected mdcProps: never[];
protected materialDom(props: any): JSX.Element;
}
export interface IListItemGraphicProps {
}
export interface IListItemGraphicState {
}
export declare class ListItemGraphic extends MaterialComponent<IListItemGraphicProps, IListItemGraphicState> {
protected componentName: string;
protected mdcProps: never[];
protected materialDom(props: any): JSX.Element;
}
export declare class ListItemMeta extends ListItemGraphic {
protected componentName: string;
}
export interface IListItemMetaTextProps {
}
export interface IListItemMetaTextState {
}
export declare class ListItemMetaText extends MaterialComponent<IListItemMetaTextProps, IListItemMetaTextState> {
protected componentName: string;
protected mdcProps: never[];
protected materialDom(props: any): JSX.Element;
}
export interface IListDividerProps {
inset?: boolean;
}
export interface IListDividerState {
}
export declare class ListDivider extends MaterialComponent<IListDividerProps, IListDividerState> {
protected componentName: string;
protected mdcProps: string[];
protected materialDom(props: any): JSX.Element;
}
export interface IListTextContainerProps {
}
export interface IListTextContainerState {
}
export declare class ListTextContainer extends MaterialComponent<IListTextContainerProps, IListTextContainerState> {
protected componentName: string;
protected mdcProps: never[];
protected materialDom(props: any): JSX.Element;
}
export declare class ListPrimaryText extends ListTextContainer {
protected componentName: string;
}
export declare class ListSecondaryText extends ListTextContainer {
protected componentName: string;
}
export interface IListGroupProps {
}
export interface IListGroupState {
}
export declare class ListGroup extends MaterialComponent<IListGroupProps, IListGroupState> {
protected componentName: string;
protected mdcProps: never[];
protected materialDom(props: any): JSX.Element;
}
export interface IListGroupHeaderProps {
}
export interface IListGroupHeaderState {
}
export declare class ListGroupHeader extends MaterialComponent<IListGroupHeaderProps, IListGroupHeaderState> {
protected componentName: string;
protected mdcProps: never[];
protected materialDom(props: any): JSX.Element;
}
export interface IListProps {
dense?: boolean;
'two-line'?: boolean;
'avatar-list'?: boolean;
}
export interface IListState {
}
export declare class List extends MaterialComponent<IListProps, IListState> {
protected componentName: string;
protected mdcProps: string[];
protected materialDom(props: any): JSX.Element;
}
export default class extends List {
static readonly Item: typeof ListItem;
static readonly LinkItem: typeof ListLinkItem;
static readonly ItemGraphic: typeof ListItemGraphic;
static readonly ItemMeta: typeof ListItemMeta;
static readonly ItemMetaText: typeof ListItemMetaText;
static readonly Divider: typeof ListDivider;
static readonly TextContainer: typeof ListTextContainer;
static readonly PrimaryText: typeof ListPrimaryText;
static readonly SecondaryText: typeof ListSecondaryText;
static readonly Group: typeof ListGroup;
static readonly GroupHeader: typeof ListGroupHeader;
}