Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mokhosh committed Mar 17, 2024
1 parent 90e587d commit 2127653
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,16 @@ $form->schema([
]);
```

## Customizing The Size

You can customize the size of the stars. The accepted values are: `xs`, `sm`, `md`, `lg` and `xl`:

```php
$form->schema([
Rating::make()->size('sm'),
]);
```

## Customizing Colors

You can customize the color of the stars by choosing one of the Filament theme colors.
Expand Down

0 comments on commit 2127653

Please sign in to comment.