import { jsx as _jsx } from "react/jsx-runtime";
import styled from 'styled-components';
const IconElement = styled.span `
  display: inline-block;
  color: inherit;
  font-style: normal;
  line-height: 0;
  text-align: center;
  text-transform: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;

  & > svg {
    display: block;
    width: 1em;
    height: 1em;

    line-height: 1;
    fill: currentColor;
  }
`;
export function Icon(props) {
    const { children, ...spanProps } = props;
    return (_jsx(IconElement, { role: "presentation", "aria-hidden": "true", ...spanProps, children: props.children }));
}
//# sourceMappingURL=Icon.js.map