ifPresent
Applies styling if the given value is not null.
Return
this component builder for chaining
Parameters
value
the value to check
consumer
the action to apply if value is not null
Type Parameters
T
the type of value
Applies styling if the given value is not null.
this component builder for chaining
the value to check
the action to apply if value is not null
the type of value