How to use
Components that use this trait allow you to change their color.
Available methods
color(string $color): static
Set the color to use.
Accepted values:
- Any hex string
- Any RGB(a) string
Component::make() ->color('#7959EF')
Components that use this trait allow you to change their color.
color(string $color): static
Set the color to use.
Accepted values:
Component::make() ->color('#7959EF')