Last active
February 12, 2017 19:23
-
-
Save chrisobriensp/f21472d19530c47c0764cec1ba1d2509 to your computer and use it in GitHub Desktop.
An extract showing the Toggle control you can use in SPFx web part properties (from getPropertyPaneConfiguration() method).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PropertyPaneToggle('toBeProp', { | |
| key: 'toBeToggle', | |
| label: 'To be or not to be?', | |
| onText: 'To be!', | |
| offText: 'Not to be' | |
| }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment