playbook_ui 14.3.1.pre.alpha.PBNTR515typeaheadmarginbottomredux3747 → 14.3.1.pre.alpha.PBNTR515typeaheadmarginbottomredux3751

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5e51693286c99e9ba35ead99c19a2901cb27b9f229683f88217dc34de7f18a7b
4
- data.tar.gz: 2dc4818138b9e67c4c825031da74bef3757ed72fbb91ff1e96761a748a09e5b7
3
+ metadata.gz: a219596b775169bccb9efbd0978160c01ecc1cd985a72f6aa015e16b98f7f301
4
+ data.tar.gz: 42741cad793cf0972f85960cb2202aabffe7588182cdc00139ed1500e85e6878
5
5
  SHA512:
6
- metadata.gz: 5e498d8ca21f944b1efe6e288bdd02d85bb95b0971df18663da160cf7f03f4e0529c38326a74ca6a7843c396bee867b75482dfa4659a7c66ef95af550854e4e9
7
- data.tar.gz: 4b3cc3370f6924a0cf974a7222701885ca40770f373f9019b816321765a3e9e31c19b244378199a3a8dcbcb8bb02587700bed068a545e43277fe6d4fa96da514
6
+ metadata.gz: 4cbc5f3762c485e6b86f6fa5f47e2ad29280a4a8b6d61bc74e109a9f2f761d616e5e3fe89e074c4c2c891b4a6242bab8bdb3143bf171bf59bda4624c14d9c492
7
+ data.tar.gz: 00fab0aa7e859e5b8d84d0c22ad05367e637a8a3ce287acb27a55ab6fadebf2396ac2a642a8daa22a35f12749d1198574c705b06fa462f33bf2e7d153998230d
@@ -4,32 +4,26 @@ import { components } from 'react-select'
4
4
  import Flex from '../../pb_flex/_flex'
5
5
  import TextInput from '../../pb_text_input/_text_input'
6
6
 
7
-
8
7
  type Props = {
9
8
  selectProps: any,
10
9
  }
11
10
 
12
- const TypeaheadControl = (props: Props) => {
13
- const { selectProps } = props
14
- const { dark, error, label } = selectProps
15
-
16
- return (
17
- <div className="pb_typeahead_wrapper">
18
- <TextInput
19
- dark={dark}
20
- error={error}
21
- label={label}
22
- marginBottom="none"
23
- >
24
- <Flex>
25
- <components.Control
26
- className="text_input"
27
- {...props}
28
- />
29
- </Flex>
30
- </TextInput>
31
- </div>
32
- )
33
- }
11
+ const TypeaheadControl = (props: Props) => (
12
+ <div className="pb_typeahead_wrapper">
13
+ <TextInput
14
+ dark={props.selectProps.dark}
15
+ error={props.selectProps.error}
16
+ label={props.selectProps.label}
17
+ marginBottom="none"
18
+ >
19
+ <Flex>
20
+ <components.Control
21
+ className="text_input"
22
+ {...props}
23
+ />
24
+ </Flex>
25
+ </TextInput>
26
+ </div>
27
+ )
34
28
 
35
29
  export default TypeaheadControl