I’ve just started to mess around with React Storybook. Very cool! (I also wanted to try out Chromatic, but it’s in a non-working state)
For some reason, styles don’t seem to work. So for instance, I have this component:
import React, { Component, PropTypes } from 'react';
export default class Clicker extends Component {
render() {
return <div className="Clicker">
Test! {this.props.hasButtons ? <button>Hello</button> : ''}
</div>
}
}
Clicker.propTypes = {
hasButtons: PropTypes.bool,
};
And the styles are in a separate SCSS file, but React Storybook is not aware of it, so my component looks totally plain. Is there a way to have Storybook recognize styles?