File size: 453 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// @flow
import React from 'react';
import Icon from 'src/components/icon';
import { Select, Container, IconContainer } from './style';

type Props = {
  children: React$Node,
  onChange: (evt: SyntheticInputEvent<HTMLSelectElement>) => void,
  defaultValue?: ?string,
};

export default (props: Props) => (
  <Container>
    <Select {...props} />
    <IconContainer>
      <Icon glyph={'down-caret'} size={20} />
    </IconContainer>
  </Container>
);