@cainthus/alex-library
Version:
Component React library for Cainthus - Alex Dashboard.
16 lines (15 loc) • 479 B
TypeScript
import React from "react";
import "./Button.scss";
import { Props } from "./Button.types";
export default class Button extends React.Component<Props> {
static defaultProps: {
theme: "primary" | "success" | "default" | "bright" | "dark" | "warn" | "transparent";
flat: boolean;
stretch: boolean;
size: "md" | "sm" | "lg";
rounded: boolean;
inline: boolean;
type: "button" | "submit";
};
render(): JSX.Element;
}