0.4.19 • Published 2 months ago

@snack-uikit/search-private v0.4.19

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 months ago

Search Private

Installation

npm i @snack-uikit/search-private

Changelog

SearchPrivate

Props

nametypedefault valuedescription
sizeenum Size: "s", "m", "l"sРазмер
loadingboolean-Состояние загрузки
onSubmit(value: string) => void-Колбек на подтверждение поиска по строке
classNamestring-CSS-класс
tabIndexnumber-
valuestring-Значение input
onChange(value: string, e?: ChangeEvent<HTMLInputElement>) => void-Колбек смены значения
placeholderstring-Значение плейсхолдера
onFocusFocusEventHandler<HTMLInputElement>-Колбек обработки получения фокуса
onBlurFocusEventHandler<HTMLInputElement>-Колбек обработки потери фокуса
onKeyDownKeyboardEventHandler<HTMLInputElement>-Колбек обработки нажатия клавиши клавиатуры
refRef<HTMLInputElement>-Allows getting a ref to the component instance. Once the component unmounts, React will set ref.current to null (or call the ref with null if you passed a callback ref). @see https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom
keyKey-
0.4.9

7 months ago

0.4.8

8 months ago

0.4.19

3 months ago

0.4.10

5 months ago

0.4.17

3 months ago

0.4.18

3 months ago

0.4.15

5 months ago

0.4.16

5 months ago

0.4.13

5 months ago

0.4.14

5 months ago

0.4.11

5 months ago

0.4.12

5 months ago

0.4.5

8 months ago

0.4.4

9 months ago

0.4.7

8 months ago

0.4.6

8 months ago

0.4.3

9 months ago

0.4.2

9 months ago

0.3.0

10 months ago

0.4.1

10 months ago

0.4.0

10 months ago

0.2.5

11 months ago

0.2.3

12 months ago

0.2.2

1 year ago

0.2.4

11 months ago

0.2.1

1 year ago

0.2.0

1 year ago

0.1.5

1 year ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago