UNPKG

@atlaskit/button

Version:

A button triggers an event or action. They let users know what will happen next.

13 lines (12 loc) 585 B
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766 import { createTheme } from '@atlaskit/theme/create-theme'; import { getCustomCss } from './get-custom-css'; const Theme = createTheme(themeProps => ({ buttonStyles: getCustomCss(themeProps), // No styles being applied directly to spinner by default // Keeping this for legacy compat. We could remove it, but given // that we are changing theme soon there is no point spinnerStyles: {} })); // eslint-disable-next-line @repo/internal/react/require-jsdoc export default Theme;