class ViewCompositeVariant
An object that includes predefined properties for a view composite.
class ViewCompositeVariant<TPreset, TObject>
Notes
- View composite variants can be used for the
variantproperty passed to a view composite constructor, in JSX tags and with the staticpresetmethod. - Variants can only be used with a specific view composite class, and sub classes.
- To create a new variant for a UI component instead, use UIVariant.
Constructor
- constructor(type, preset)Creates a new view composite variant object.
