diff --git a/README.md b/README.md index 8c29c93..547d4ba 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,7 @@ Next, you should publish resources files using the `vendor:publish` Artisan comm ``` # Fields + ## Range #### It's very elegant field, which can set min and max value. @@ -24,18 +25,36 @@ Next, you should publish resources files using the `vendor:publish` Artisan comm range - - range - + +Example: + +```php +use agoalofalife\Orchid\Fields\Range; + +Range::make('age') + ->title('Age') + ->min(18) + ->max(50) + ->hasGrid(true); +``` ## Rate + #### It's very elegant field, which can set min and max value. range - - range - + +Example: + +```php +use agoalofalife\Orchid\Fields\Rate; + +Rate::make('rate') + ->count(4) + ->readonly(true) + ->haveRated(5); +```