0.0.3 • Published 5 years ago

mdx-cssx v0.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

mdx-cssx

CSSX is CSS in MDX files.

Why?

Why not?

Usage

yarn add mdx-cssx
npm i mdx-cssx
import ReactDOM from "react-dom"
import React from "react"
import App from "./App"
import CSSX from "mdx-cssx"

ReactDOM.render(
  <CSSX>
    <App />
  </CSSX>,
  document.getElementById("root")
)

Under the hood I use the mdx-provider so you can pass more components to it if you wish to override more

...

License

MIT License, see the included License.md file.