Skip to content

Commit

Permalink
Fix Select Icon
Browse files Browse the repository at this point in the history
  • Loading branch information
y1n0 committed Dec 1, 2020
1 parent c4d7ce1 commit ce61831
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions src/components/Form/Select.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,17 @@ import { Box, Flex } from '../Box';
import { getMarginProps, omitMarginProps, getLayoutProps } from '../../core';


const SVG = ({ size = 24, ...props }) =>
<Box
as='svg'
const DownArrow = ({size = 24, ...rest}) => (
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
width={size}
height={size}
viewBox="0 0 24 24"
fill='currentcolor'
{...props}
/>

const DownArrow = props =>
<SVG {...props}>
>
<path d="M7 10l5 5 5-5z" />
</SVG>
</svg>
)


const SelectIcon = ({ icon }) => {
Expand Down

0 comments on commit ce61831

Please sign in to comment.