UNPKG

@unicity/design-system

Version:

A comprehensive React component library built on Material-UI with advanced theming capabilities including neumorphism design support

6 lines 405 B
import { jsx as _jsx } from "react/jsx-runtime"; import { StyledButton } from './Button.style'; export const Button = ({ children, size = 'medium', fullWidth = false, loading = false, disabled, ...props }) => { return (_jsx(StyledButton, { size: size, fullWidth: fullWidth, disabled: disabled || loading, ...props, children: loading ? 'Loading...' : children })); }; //# sourceMappingURL=Button.js.map