@icoms-detection/ui
Version:
This is the OFFICIAL UI library created by Icoms Detection to design their apps.
19 lines (18 loc) • 623 B
TypeScript
import { ReactChild, ComponentProps, FC } from "react";
import { ColorProps, SizeProps, VariantProps } from "../utils/types";
declare type StitchesButtonProps = ComponentProps<typeof StyledButton>;
export interface ButtonProps extends StitchesButtonProps {
/** Provide a text for the button */
children?: ReactChild;
variant?: VariantProps;
color?: ColorProps;
size?: SizeProps;
icon?: boolean;
rounded?: SizeProps;
squared?: SizeProps;
loading?: boolean;
round?: boolean;
}
declare const StyledButton: any;
export declare const Button: FC<ButtonProps>;
export {};