- ProduceStyle<TClass, TAmended>(config?: ComponentStypFormatConfig): ComponentMemberAmendment<Source, TClass, Source, TAmended>
-
Type Parameters
-
TClass extends ComponentClass<any, TClass>
-
TAmended extends AeComponentMember<Source, TClass, Source, TAmended> = AeComponentMember<Source, TClass, Source>
Returns ComponentMemberAmendment<Source, TClass, Source, TAmended>
Creates an amendment (and decorator) of component member producing CSS rules to apply to component.
An amended member should either contain a CSS rules source of type
StypRules.Source
or be a method returning it.Produces CSS using component style production format.
Returns
Component property decorator.