The Filter component should provide a way of specifying custom classes.
Motivation
Most (all?) other components offer the ability to add extra classes by providing a classes parameter when instantiating. This is useful for extending styling without overwriting default implementation (for instance, by providing a modifier class to create a bespoke theme).
The Filter component is currently missing this feature.
Describe alternatives you've considered
At the moment, it seems the only way to tweak the styling of this component is to override the default styles:
Summary
The Filter component should provide a way of specifying custom classes.
Motivation
Most (all?) other components offer the ability to add extra classes by providing a
classes
parameter when instantiating. This is useful for extending styling without overwriting default implementation (for instance, by providing a modifier class to create a bespoke theme).The Filter component is currently missing this feature.
Describe alternatives you've considered
At the moment, it seems the only way to tweak the styling of this component is to override the default styles:
App css:
When allowing extra classes, the modifier could be used to ensure original styles are not touched:
Template:
Additional context
Happy to provide the PR for this!