@gorazdo/material-you
Version:
Material You theme for @material-ui library
18 lines (17 loc) • 766 B
TypeScript
import { ButtonBaseProps } from "@material-ui/core";
import { FC } from "react";
import { PaletteOptions } from "@material-ui/core/styles/createPalette";
export declare type ShapeVariants = "circle" | "square" | "rounded";
declare type ValidPalettes = Exclude<keyof PaletteOptions, "getContrastText" | "type" | "background" | "text" | "grey" | "tonalOffset" | "common" | "contrastThreshold" | "divider" | "action">;
export interface ShapeButtonProps extends ButtonBaseProps {
shape?: ShapeVariants | undefined;
ignorePaddings?: boolean;
variant?: "text" | "contained";
palette?: ValidPalettes;
classes?: {
root?: string;
label?: string;
};
}
export declare const ShapeButton: FC<ShapeButtonProps>;
export {};