Skip to content

Commit a077236

Browse files
sai6855LukasTy
andauthored
[pickers] Add inputSizeSmall to classes interface (#18242)
Co-authored-by: Lukas <llukas.tyla@gmail.com>
1 parent 6be530f commit a077236

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

packages/x-date-pickers/src/PickersTextField/PickersInputBase/pickersInputBaseClasses.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ export interface PickersInputBaseClasses {
1212
readOnly: string;
1313
/** State class applied to the root element if `error=true`. */
1414
error: string;
15+
/** State class applied to the root element if `size=small`. */
16+
inputSizeSmall: string;
1517
/** Styles applied to the NotchedOutline element. */
1618
notchedOutline: string;
1719
/** Styles applied to the real hidden input element. */
@@ -52,6 +54,7 @@ export const pickersInputBaseClasses = generateUtilityClasses<PickersInputBaseCl
5254
'adornedStart',
5355
'adornedEnd',
5456
'input',
57+
'inputSizeSmall',
5558
'activeBar',
5659
],
5760
);

0 commit comments

Comments
 (0)