mfg-ui-components
Version:
React UI library with reusable components
23 lines (22 loc) • 790 B
TypeScript
import React from "react";
import "./Button.scss";
export type color = "mfg-primary" | "mfg-secondary" | "mfg-success" | "mfg-danger" | "mfg-plain";
export type btnType = "button" | "submit" | "reset" | undefined;
export interface Props {
ButtonClass?: color;
ButtonId?: any;
children: any;
onClick?: any;
link?: any;
customClass?: any;
tabIndex?: number;
role?: string;
ariaSelected?: boolean;
target?: any;
ariaControl?: string;
disabled?: boolean;
type?: btnType;
style?: React.CSSProperties;
}
declare const Button: ({ ButtonClass, ButtonId, children, onClick, link, customClass, tabIndex, role, ariaSelected, target, ariaControl, disabled, type, style }: Props) => import("react/jsx-runtime").JSX.Element;
export default Button;