We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
DocSearch-Button
1 parent 2b2cbcf commit 8588b96Copy full SHA for 8588b96
1 file changed
src/DocSearchButton.tsx
@@ -32,19 +32,14 @@ export const DocSearchButton = React.forwardRef<
32
}, []);
33
34
return (
35
- <button
36
- type="button"
37
- className="DocSearch-SearchButton"
38
- {...props}
39
- ref={ref}
40
- >
+ <button type="button" className="DocSearch-Button" {...props} ref={ref}>
41
<SearchIcon />
42
- <span className="DocSearch-SearchButton-Placeholder">Search</span>
+ <span className="DocSearch-Button-Placeholder">Search</span>
43
44
- <span className="DocSearch-SearchButton-Key">
+ <span className="DocSearch-Button-Key">
45
{key === ACTION_KEY_DEFAULT ? <ControlKeyIcon /> : key}
46
</span>
47
- <span className="DocSearch-SearchButton-Key">K</span>
+ <span className="DocSearch-Button-Key">K</span>
48
</button>
49
);
50
});
0 commit comments