UNPKG

@atlaskit/button

Version:

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

15 lines (14 loc) 615 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'; var Theme = createTheme(function (themeProps) { return { 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;