preact-material-components
Version:
preact wrapper for "Material Components for the web"
76 lines (75 loc) • 2.64 kB
TypeScript
import MaterialComponent from '../Base/MaterialComponent';
import Button from '../Button';
import Icon from '../Icon';
interface ICardActionsProps {
'full-bleed'?: boolean;
}
interface ICardActionsState {
}
export declare class CardActions extends MaterialComponent<ICardActionsProps, ICardActionsState> {
protected componentName: string;
protected mdcProps: string[];
protected materialDom(props: any): JSX.Element;
}
export interface ICardMediaProps extends JSX.HTMLAttributes {
square?: boolean;
sixteenByNine?: boolean;
}
export interface ICardMediaState {
}
export declare class CardMedia extends MaterialComponent<ICardMediaProps, ICardMediaState> {
protected componentName: string;
protected mdcProps: string[];
protected materialDom(props: any): JSX.Element;
}
export declare class CardActionButton extends Button {
protected componentName: string;
protected mdcProps: never[];
protected materialDom(props: any): JSX.Element;
}
export interface ICardActionIconsProps {
}
export interface ICardActionIconsState {
}
export declare class CardActionIcons extends MaterialComponent<ICardActionIconsProps, ICardActionIconsState> {
protected componentName: string;
protected mdcProps: never[];
protected materialDom(props: any): JSX.Element;
}
export declare class CardActionButtons extends CardActionIcons {
protected componentName: string;
}
export declare class CardActionIcon extends Icon {
protected componentName: string;
protected mdcProps: never[];
protected materialDom(props: any): JSX.Element;
}
export interface ICardMediaContentProps {
}
export interface ICardMediaContentState {
}
export declare class CardMediaContent extends MaterialComponent<ICardMediaContentProps, ICardMediaContentState> {
protected componentName: string;
protected mdcProps: never[];
protected materialDom(props: any): JSX.Element;
}
export interface ICardProps {
outlined?: boolean;
}
export interface ICardState {
}
export declare class Card extends MaterialComponent<ICardProps, ICardState> {
protected componentName: string;
protected mdcProps: string[];
protected materialDom(props: any): JSX.Element;
}
export default class extends Card {
static readonly Actions: typeof CardActions;
static readonly ActionButtons: typeof CardActionButtons;
static readonly ActionButton: typeof CardActionButton;
static readonly ActionIcons: typeof CardActionIcons;
static readonly ActionIcon: typeof CardActionIcon;
static readonly Media: typeof CardMedia;
static readonly CardMediaContent: typeof CardMediaContent;
}
export {};