@microsoft/fast-foundation > DecoratorDesignSystemPropertyConfiguration

DecoratorDesignSystemPropertyConfiguration interface

Configuration object for defining a DesignSystemProvider property

Signature:
export interface DecoratorDesignSystemPropertyConfiguration extends Omit<DecoratorAttributeConfiguration, "attribute">

Properties

PropertyTypeDescription
attributestring | falseThe HTML attribute name to map the property to - defaults to the property name.
cssCustomPropertystring | falseAn optional property to control the name of the css custom property being created. If omitted, the css custom property will share a name with attribute if specified, otherwise the property name being decorated. If assigned a false value, no css custom property will be created.
defaultanyThe default value of the property. Will be assigned when the use-defaults attribute is used.