created:3/5/2021
updated:3/5/2021
loc
67
comments
6%
passed
2
coverage
14%
Search
search input component connected to the store
Name | Description | Default | |
---|---|---|---|
SearchInputOwnProps(4 properties) | |||
onSelect | on select a search item. ((item: DocInfo) => void) | - | |
children | children is a render prop to allow custom rendering of items, one at a time ((((props: SearchBoxCallbackProps<DocInfo>) => ReactNode) & (boolean | ReactChild | ReactFragment | ReactPortal | null)) & (boolean | ... 3 more ... | null)) | - | |
popoverProps | customize the popover PopoverProps | - | |
render | custom renver of the search items popup ((rendered: ReactNode) => ReactNode) | - | |
InputHTMLAttributes(33 properties) | |||
SpaceProps(28 properties) | |||
HTMLAttributes(43 properties) | |||
Attributes(2 properties) | |||
AriaAttributes(48 properties) | |||
DOMAttributes(159 properties) | |||
BoxOwnProps(3 properties) | |||
BackgroundColorProps(2 properties) | |||
OpacityProps(1 properties) |
20 commits
package | imports | peer |
---|---|---|
SearchInputPropsSearchInputLink | ||
@component-controls/core ^3.14.6 | DocInfo | |
@component-controls/store ^3.15.0 | useSearch | |
react ^17.0.1 | FC | * |
theme-ui ^0.8.4 | jsxThemeTextBox |
file | imports |
---|---|
"../DocumentItem" |