Skip to content

Commit 0d9c633

Browse files
committed
Fixed type for Typescript strict compliance
1 parent d708921 commit 0d9c633

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/SliderTracks.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { RangeColor } from '../types'
33
/** Component props. */
44
interface SliderTracksProps {
55
/** Labels component. */
6-
children: JSX.Element;
6+
children: JSX.Element | undefined;
77
/** Left offset. */
88
left?: string;
99
/** Track width. */

0 commit comments

Comments
 (0)