chore(createTypographyControl): make some props optional

This commit is contained in:
Ilia Mashkov
2026-01-21 21:54:48 +03:00
parent 91300bdc25
commit 46de3c6e87

View File

@@ -30,15 +30,15 @@ export interface ControlModel extends ControlDataModel {
/**
* Area label for increase button
*/
increaseLabel: string;
increaseLabel?: string;
/**
* Area label for decrease button
*/
decreaseLabel: string;
decreaseLabel?: string;
/**
* Control area label
*/
controlLabel: string;
controlLabel?: string;
}
export function createTypographyControl<T extends ControlDataModel>(