We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 145da6e commit 61a1190Copy full SHA for 61a1190
src/search/Search.tsx
@@ -130,7 +130,9 @@ const Search: FC<SearchProps> = (props) => {
130
value={searchValue}
131
type="search"
132
className={`${inputClasses}`}
133
- style={{ '--td-search-cursor-color': props.cursorColor } as React.CSSProperties}
+ style={
134
+ props.cursorColor ? ({ '--td-search-cursor-color': props.cursorColor } as React.CSSProperties) : undefined
135
+ }
136
autoFocus={focus}
137
placeholder={placeholder}
138
readOnly={readonly}
0 commit comments