Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
davidpiesse authored Nov 28, 2019
1 parent 178353f commit 7a3be33
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ composer require davidpiesse/nova-toggle

## Usage
The Toggle has all the same options as the Boolean field so you can set the values to be stored in the Model.

```php
use Davidpiesse\NovaToggle\Toggle;
```

```php
Toggle::make('Active')
->trueValue('On')
Expand Down

0 comments on commit 7a3be33

Please sign in to comment.