( props: PlaceholderProps<Option, IsMulti, Group> )
| 41 | }); |
| 42 | |
| 43 | const Placeholder = < |
| 44 | Option, |
| 45 | IsMulti extends boolean, |
| 46 | Group extends GroupBase<Option> |
| 47 | >( |
| 48 | props: PlaceholderProps<Option, IsMulti, Group> |
| 49 | ) => { |
| 50 | const { children, innerProps } = props; |
| 51 | return ( |
| 52 | <div |
| 53 | {...getStyleProps(props, 'placeholder', { |
| 54 | placeholder: true, |
| 55 | })} |
| 56 | {...innerProps} |
| 57 | > |
| 58 | {children} |
| 59 | </div> |
| 60 | ); |
| 61 | }; |
| 62 | |
| 63 | export default Placeholder; |
nothing calls this directly
no test coverage detected
searching dependent graphs…