react-prose
React component for styling documents
Last updated 3 years ago by jxnblk .
MIT · Original npm · Tarball · package.json
$ cnpm install react-prose 
SYNC missed versions from official npm registry.

react-prose

React component for styling documents and blocks of HTML content

npm install react-prose
import React from 'react'
import Markdown from 'react-markdown'
import Prose from '../src/styled-components'
import readme from 'raw-loader!./README.md'

const App = () => (
  <Prose>
    <Markdown source={readme} />
  </Prose>
)

Features

  • Style blocks of HTML content
  • Scoped with css-in-js
  • Support for styled-components, glamorous, and cxs
  • Built in themes
  • Customizable via props
  • Full typographic control

Props

  • theme key for built-in theme

MIT License

Current Tags

  • 1.0.0-0                                ...           latest (3 years ago)

1 Versions

  • 1.0.0-0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 4
Dependencies (14)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2016 © taobao.org |