@atlaskit/button
Version:
A button triggers an event or action. They let users know what will happen next.
10 lines • 403 B
JavaScript
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
import { css } from '@emotion/react';
export function getFadingCss(_ref) {
var hasOverlay = _ref.hasOverlay;
return css({
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
opacity: hasOverlay ? 0 : 1,
transition: 'opacity 0.3s'
});
}