juny-react-style / Exports / SearchBarProps
- $as
- $backgroundColor
- $boxShadow
- $cursor
- $hiddenIcon
- $inputFocusBoxShadow
- $inputHoverBoxShadow
- $onClick
- $onKeyUp
- BoxShadow
- onSearch
- placeholder
• Optional
$as: "div"
| "input"
src/component/SearchBar/search-bar.type.tsx:14
• Optional
$backgroundColor: string
src/component/SearchBar/search-bar.type.tsx:6
• Optional
$boxShadow: string
src/component/SearchBar/search-bar.type.tsx:7
• Optional
$cursor: string
src/component/SearchBar/search-bar.type.tsx:13
• Optional
$hiddenIcon: boolean
src/component/SearchBar/search-bar.type.tsx:15
• Optional
$inputFocusBoxShadow: string
src/component/SearchBar/search-bar.type.tsx:9
• Optional
$inputHoverBoxShadow: string
src/component/SearchBar/search-bar.type.tsx:8
• Optional
$onClick: () => void
▸ (): void
void
src/component/SearchBar/search-bar.type.tsx:10
• Optional
$onKeyUp: (e
: KeyboardEvent
<HTMLDivElement
>, query
: string
) => void
▸ (e
, query
): void
Name | Type |
---|---|
e |
KeyboardEvent <HTMLDivElement > |
query |
string |
void
src/component/SearchBar/search-bar.type.tsx:11
• Optional
BoxShadow: string
src/component/SearchBar/search-bar.type.tsx:12
• Optional
onSearch: (query
: string
) => string
| void
▸ (query
): string
| void
Name | Type |
---|---|
query |
string |
string
| void
src/component/SearchBar/search-bar.type.tsx:5
• Optional
placeholder: ReactNode