Skip to content

Attributes setting

You can use the .attrs prop to set attributes to the styled components. support passing a attrs function or an object.

Here is an example:

Released under the Apache-2.0 License.