@@ -3,20 +3,18 @@ export interface Brand {
33 label : string
44 /** Label color */
55 color ?: string
6- /** Determina the href */
7- href ?: string
86 /** A path which contain the company icon/image */
97 src ?: string
10- /** A click handle which will redirect the user to the respectivel webpage/path */
11- onClick ? : ( event : React . MouseEvent < any > ) => void
8+ /** A click handle which will redirect the user to the respectable webpage/path */
9+ onClick : ( event : React . MouseEvent < any > ) => void
1210}
1311
1412export interface NavLinkElement {
1513 /** The link name */
1614 label : string
1715 /** A click handle which will redirect the user to whenever it is clicked */
1816 onClick : ( event : React . MouseEvent < any > ) => void
19- /** Determina the href */
17+ /** Determines the href */
2018 href ?: string
2119}
2220
@@ -27,9 +25,9 @@ export interface NavLink extends NavLinkElement {
2725
2826export interface Search {
2927 /** Defines the placeholder text. */
30- placeholderText ?: string | 'Search'
28+ placeholderText ?: string
3129 /** Defines the button text. */
32- buttonText ?: string | 'Search'
30+ buttonText ?: string
3331 /** Defines the button variant. */
3432 buttonColor ?:
3533 | 'primary'
@@ -41,7 +39,7 @@ export interface Search {
4139 | 'light'
4240 | 'dark'
4341 /** Handles the on click search button event */
44- onClickButton ? : ( event : React . MouseEvent < HTMLButtonElement , MouseEvent > ) => void
42+ onClickButton : ( event : React . MouseEvent < HTMLButtonElement , MouseEvent > ) => void
4543 /** Handles the on change search form event */
4644 onChangeInput ?: ( event : React . ChangeEvent < HTMLInputElement > ) => void
4745}
0 commit comments