@activate-spritz-components/spritz-ui-components
Version:
This is shared components library for spritz projects.
21 lines (20 loc) • 461 B
TypeScript
import { ReactNode, FunctionComponent } from 'react';
interface ButtonProps {
id?: string;
type: 'button' | 'submit' | 'reset';
children?: ReactNode | ReactNode[];
className?: string;
onClick?: () => void;
disabled?: boolean;
leftIcon?: string;
rightIcon?: string;
iconColor?: string;
}
/**
* Button component
*
* @param {*} props
* @returns
*/
declare const Index: FunctionComponent<ButtonProps>;
export default Index;