How to use
Components that use this trait can render two icons, one on the left and one on the right (lead and tail respectively).
Component::make() ->icon('user', IconSide::Lead);
Available methods
icon(string|Icon $icon, ?IconSide $side = IconSide::Lead): static
Set the icon by its name, file path, or with a component instance, either on the lead or tail side.
Component::make() ->icon('lock-closed', IconSide::Tail);
Inherited methods
The HasLeadAndTailIcons trait inherits the methods from the following traits: