Skip to content

Instantly share code, notes, and snippets.

@vmarcosp
Created July 16, 2022 15:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vmarcosp/8c46bb0a2966de2f2fad07dd373ed70b to your computer and use it in GitHub Desktop.
Save vmarcosp/8c46bb0a2966de2f2fad07dd373ed70b to your computer and use it in GitHub Desktop.
Basic bindings for @emotion/css
@module("@emotion/css") external css: {..} => string = "css"
@module("@emotion/css") external rawCss: string => string = "css"
@module("@emotion/css") external keyframes: {..} => string = "keyframes"
@module("@emotion/css") external injectGlobal: {..} => unit = "injectGlobal"
@module("@emotion/css") external compose: (string, string) => string = "compose"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment