mdx-cssx

0.0.3 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i mdx-cssx

Weekly Downloads

8

Version

0.0.3

License

MIT

Unpacked Size

117 kB

Total Files

8

Last publish

Collaborators

  • saravieira