We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a9b9d9 commit 2add1dcCopy full SHA for 2add1dc
src/components/Search/Search.scss
@@ -0,0 +1,3 @@
1
+.ydb-search {
2
+ min-width: 100px;
3
+}
src/components/Search/Search.tsx
@@ -1,7 +1,12 @@
import {useRef, useEffect, useState} from 'react';
+import cn from 'bem-cn-lite';
4
import {TextInput} from '@gravity-ui/uikit';
5
6
+import './Search.scss';
7
+
8
+const b = cn('ydb-search');
9
10
interface SearchProps {
11
onChange: (value: string) => void;
12
value?: string;
@@ -44,7 +49,7 @@ export const Search = ({
44
49
<TextInput
45
50
hasClear
46
51
autoFocus
47
- className={className}
52
+ className={b(null, className)}
48
53
placeholder={placeholder}
54
value={searchValue}
55
onUpdate={onSearchValueChange}
0 commit comments