fictoan-react
Version:
A full-featured, designer-friendly, yet performant framework with plain-English props and focus on rapid iteration.
15 lines (14 loc) • 708 B
TypeScript
import React from "react";
import { CommonAndHTMLProps, EmphasisTypes, ShapeTypes, SpacingTypes } from '../Element/constants';
export interface ButtonCustomProps {
kind?: EmphasisTypes;
size?: SpacingTypes;
shape?: ShapeTypes;
isLoading?: boolean;
hasDelete?: boolean;
label?: string;
}
export type ButtonElementType = HTMLButtonElement;
export type ButtonProps = Omit<CommonAndHTMLProps<ButtonElementType>, keyof ButtonCustomProps> & ButtonCustomProps;
export declare const Button: React.ForwardRefExoticComponent<Omit<CommonAndHTMLProps<HTMLButtonElement>, keyof ButtonCustomProps> & ButtonCustomProps & React.RefAttributes<HTMLButtonElement>>;
//# sourceMappingURL=Button.d.ts.map