Skip to content

Commit 55e35d6

Browse files
authored
fix: fix typing of BaseSelectProps.className (fixes #1143)
1 parent 3639a8a commit 55e35d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BaseSelect/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ export type BaseSelectPropsWithoutPrivate = Omit<BaseSelectProps, keyof BaseSele
129129

130130
export interface BaseSelectProps extends BaseSelectPrivateProps, React.AriaAttributes {
131131
// Style
132-
className?: string;
132+
className: string | undefined;
133133
style?: React.CSSProperties;
134134
classNames?: Partial<Record<BaseSelectSemanticName, string>>;
135135
styles?: Partial<Record<BaseSelectSemanticName, React.CSSProperties>>;

0 commit comments

Comments
 (0)