playbook_ui 14.3.1.pre.alpha.PBNTR515typeaheadmarginbottomredux3747 → 14.3.1.pre.alpha.PBNTR515typeaheadmarginbottomredux3750

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: 0061b442112f47a4fb24de619325caf39a5f23ce6e3d5236612617b3b87ed8b0
4
+ data.tar.gz: 1b77a693e86d40d68b88d7518ee833d3010067c78bd398d96ad0a1fb637046d5
5
5
  SHA512:
6
- metadata.gz: 5e498d8ca21f944b1efe6e288bdd02d85bb95b0971df18663da160cf7f03f4e0529c38326a74ca6a7843c396bee867b75482dfa4659a7c66ef95af550854e4e9
7
- data.tar.gz: 4b3cc3370f6924a0cf974a7222701885ca40770f373f9019b816321765a3e9e31c19b244378199a3a8dcbcb8bb02587700bed068a545e43277fe6d4fa96da514
6
+ metadata.gz: 7739fe15f06ffbe3c6bfdbf933d0d44ed4d9ad8887a5ae7e76ec83215b09fd8e4edd3870784d47a2fe563fe883f405f7c6c9cbe302d37d0e992f66d4306ddf1c
7
+ data.tar.gz: a02904df1348f709907111d2bbf39b2e979a9d4690567b2c850f860e0e459c1456342cd2b9187a258b59d30602792c8a68da419fe8dfc3ec46b489517844d028
@@ -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