LineWeightSwatchProps Interface

Beta  

Properties for the LineWeightSwatch React component

Extends

Methods

Name Description
onClick(): void Optional function to run when user selects a line weight swatch  

Properties

Name Type Description
colorDef undefined | ColorDef color specification  
disabled undefined | boolean Disabled or not  
hideLabel undefined | boolean hide the weight label  
readonly undefined | boolean Readonly or not  
weight number color specification  

Defined in

Last Updated: 11 June, 2024