How
Just create a interface and add the type with the property read only. After, add the interface to the tag declaration with < >
:
referencies
Using custom props: https://styled-components.com/docs/api#using-custom-props [archive]
Just create a interface and add the type with the property read only. After, add the interface to the tag declaration with < >
:
Using custom props: https://styled-components.com/docs/api#using-custom-props [archive]