@kubit-ui-web/react-components
Version:
Kubit React Components is a customizable, accessible library of React web components, designed to enhance your application's user experience
22 lines • 600 B
JavaScript
import styled, { css } from 'styled-components';
import { getStyles } from '../../utils/getStyles/getStyles';
export const LoaderStyled = styled.span `
${props => getStyles(props.styles.container)}
${({ $width }) => $width &&
css `
width: ${$width};
height: ${$width};
`};
${({ position }) => position &&
css `
position: ${position};
`};
${({ styles }) => css `
${styles.animation}
`}
`;
export const LoaderWrapperStyled = styled.span `
display: flex;
${props => getStyles(props.styles.parentContainer)}
`;
//# sourceMappingURL=loader.styled.js.map