import * as React from 'react' ; import { createUseStyles } from 'react-jss' ; import { Style } from 'jss' ; export function createGlobalStyle ( style ) { const useStyles = createUseStyles ( { '@global' : style } ) ; return ( ) : React . ReactElement => { useStyles ( ) ; return < React . Fragment />; } ; }