We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9216ffa commit f5c2a27Copy full SHA for f5c2a27
1 file changed
packages/docsearch-react/src/DocSearchButton.tsx
@@ -37,18 +37,18 @@ export const DocSearchButton = React.forwardRef<
37
{...props}
38
ref={ref}
39
>
40
- <div className="DocSearch-Button-Container">
+ <span className="DocSearch-Button-Container">
41
<SearchIcon />
42
<span className="DocSearch-Button-Placeholder">Search</span>
43
- </div>
+ </span>
44
45
{key !== null ? (
46
- <div className="DocSearch-Button-Keys">
+ <span className="DocSearch-Button-Keys">
47
<span className="DocSearch-Button-Key">
48
{key === ACTION_KEY_DEFAULT ? <ControlKeyIcon /> : key}
49
</span>
50
<span className="DocSearch-Button-Key">K</span>
51
52
) : null}
53
</button>
54
);
0 commit comments