Check out example codes for "dash name css error react". It will help you in understanding the concepts better.

Code Example 1

import React from 'react'
import styleable from 'react-styleable'

import css from './index.css'

class MyComponent extends React.Component {
  render() { return (
    //for this.props.css.product-image, for example, see the following
    <div className={this.props.css['product-image']}></div>
  ) }

export styleable(css)(MyComponent)

Learn ReactJs, React Native from