-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stats overview card: add description icon position #5232
Conversation
|
Thanks |
Isn't it better to explicitly name |
after by default. the property usually returns null |
For buttons we do use |
feel free to change it if you want |
Sorry to post here guys, but this is the closest thing I found while searching, how can I set description icon position in filament 3? I tried passing to the stat ->descriptionIconPosition, tried something like but can't find any documentation on this |
second param of descriptionIcon() |
Thank you @danharrin! |
I want to place description icon before description text in StatsOverviewWidget.
Screenshot:
![1](https://user-images.githubusercontent.com/37311362/207198832-87c49669-a27a-47c6-b80f-643acef21f8c.png)
I extended description icon setter:
descriptionIcon(?string $icon, ?string $position = null)
Is it acceptable, or should it be like this?
descriptionIcon(?string $icon)
descriptionIconPosition(?string $position)
I am also not sure what to do about duplicated dynamic component.