Skip to content

Commit

Permalink
Update Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
davidpiesse committed Sep 28, 2018
1 parent 6054dae commit 1fcf244
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,10 @@ Toggle::make('Active')
->showOnlyFalseLabel() //False label only
```

To set the text you can use either or both of the following
To set the text you can use either or both of the following. You must also set the visibility of the labels as described above.
```php
Toggle::make('Active')
->showLabels()
->trueLabel('Tru Dat')
->falseLabel('Nah Dawg')
```
Expand Down

0 comments on commit 1fcf244

Please sign in to comment.