@primer/components
Version:
Primer react components
15 lines (13 loc) • 689 B
JavaScript
import React from 'react';
import styled from 'styled-components';
import { COMMON, get } from '../constants';
import Spinner from '../Spinner';
const Animation = styled.div.withConfig({
displayName: "SelectMenuLoadingAnimation__Animation",
componentId: "sc-17k54td-0"
})(["padding:", " ", ";text-align:center;background-color:", ";", ""], get('space.6'), get('space.4'), get('colors.canvas.overlay'), COMMON);
const SelectMenuLoadingAnimation = props => {
return /*#__PURE__*/React.createElement(Animation, props, /*#__PURE__*/React.createElement(Spinner, null));
};
SelectMenuLoadingAnimation.displayName = "SelectMenuLoadingAnimation";
export default SelectMenuLoadingAnimation;