From 1ba69ab686fad1245b46d3c3911066f08277e8ef Mon Sep 17 00:00:00 2001 From: Lukas Frey Date: Wed, 12 Oct 2022 19:54:46 +0200 Subject: [PATCH] docs(README): added information about rendering the icon Signed-off-by: Lukas Frey --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 58efc31..5dae71b 100644 --- a/README.md +++ b/README.md @@ -101,6 +101,14 @@ public static function table(Table $table): Table } ``` +The field's state returns the selected identifier of the icon. + +Assuming we saved the icon on our `$category` model under `$icon`, you can render it in your blade view using: +```php + +``` +More information on rendering the icon on the [blade-icons github](https://github.com/blade-ui-kit/blade-icons#default-component). + ### Options #### Columns