kulakowka / react-bulma

React.js components for Modern CSS framework based on Flexbox
https://code-typing-tutor.com
MIT License
471 stars 52 forks source link

add nocss option #24

Open gordonmleigh opened 6 years ago

gordonmleigh commented 6 years ago

This pull request addresses #13 in a non-breaking way. You could use it like this:

import { Hero } from 'reactbulma/lib/components/nocss'
import './styles.scss'

class BlogIndex extends React.Component {
  render() {
    return (
      <Hero>
        <Hero.Body>
          Hello World
        </Hero.Body>
      </Hero>
    )
  }
}

And styles.scss:

@import 'variables'; // custom variable overrides
@import '~bulma/bulma.sass';
thib92 commented 6 years ago

I totally approve this one! @kulakowka you should check this out!