import React, { FC } from 'react'; import styled, { css } from 'styled-components'; import { alignItems } from '../../styles/alignment'; import { display } from '../../styles/display'; import { color } from '../../styles/typography'; import { IconProps } from './typings'; import { marginLeft, marginRight } from '../../styles/spacing'; import { getIconDivProps } from './util'; const SuccessIconComponent: FC = (props) => { return (
{/* */}
); }; export default styled(SuccessIconComponent)` ${({ width = '16px', height = '16px', color: cssColor = 'success', marginLeft: ml = '0', marginRight: mr = '0', }) => css` width: ${width}; height: ${height}; ${display('flex')}; ${alignItems('center')}; ${color(cssColor)} ${marginLeft(ml)} ${marginRight(mr)} .o-icon-success-svg { display: inline-block; fill: currentColor; } `} `;