office-ui-fabric-react#mergeStyles TypeScript Examples

The following examples show how to use office-ui-fabric-react#mergeStyles. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: index.tsx    From art with MIT License 6 votes vote down vote up
// Inject some global styles
mergeStyles({
  selectors: {
    ':global(body), :global(html), :global(#root)': {
      margin: 0,
      padding: 0,
      height: '100vh'
    }
  }
});
Example #2
Source File: ExplorePage.tsx    From art with MIT License 5 votes vote down vote up
halfStack = mergeStyles({
    width: "50%",
    height: "100%"
})
Example #3
Source File: LoadProgress.tsx    From NetworkViewPCF with MIT License 5 votes vote down vote up
progressStyleFadeIn = mergeStyles(AnimationStyles.fadeIn400, {
  boxShadow: theme.effects.elevation16,
})
Example #4
Source File: LoadProgress.tsx    From NetworkViewPCF with MIT License 5 votes vote down vote up
progressStyleFadeOut = mergeStyles(AnimationStyles.fadeOut400, {
  boxShadow: theme.effects.elevation16,
})