chore(createTypographyControl): make some props optional
This commit is contained in:
@@ -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>(
|
||||
|
||||
Reference in New Issue
Block a user