react-native-moengage-cards
Version:
Cards Module for the MoEngage Platform
23 lines (19 loc) • 437 B
text/typescript
import WidgetStyle from "./WidgetStyle";
/**
* Style attributes for a Button Widget.
*
* @author Abhishek Kumar
* @since 1.0.0
*/
class ButtonStyle extends WidgetStyle {
/**
* Font size of the button text.
* @since 1.0.0
*/
fontSize: number;
constructor(backgroundColor: string, fontSize: number) {
super(backgroundColor);
this.fontSize = fontSize;
}
}
export default ButtonStyle;