Skip to content

Instantly share code, notes, and snippets.

@winperec
Created February 28, 2019 05:51
Show Gist options
  • Save winperec/052cba5e7fcb563ab92ccc8ae2f0b1bb to your computer and use it in GitHub Desktop.
Save winperec/052cba5e7fcb563ab92ccc8ae2f0b1bb to your computer and use it in GitHub Desktop.
Example of Icons
declare type FabricIcon =
| 'SignOut'
| 'CustomIcon'
| 'None'
| 'AADLogo'
| 'Accept'
| 'AccessLogo'
| 'AccessLogoFill'
| 'Accounts'
| 'ActivityFeed'
| 'Add';
const SignOutIcon : FabricIcon = 'SignOut'; // is OK
const NonExistingIcon : FabricIcon = 'NonExistingIcon'; // compile error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment