add name prop to Search component

This commit is contained in:
Tee Ming 2022-10-13 16:06:43 +08:00
commit 90d983216d
5 changed files with 2975 additions and 1522 deletions

View file

@ -93,6 +93,12 @@ export interface SearchProps {
*/
id?: string;
/**
* Specify a name attribute for the input
* @default undefined
*/
name?: string;
/**
* Obtain a reference to the input HTML element
* @default null