Sha256: 5c2d44d283f99fc13d318487b8dcc81f641e41822b9f7b9b5312964f4470779a

Contents?: true

Size: 360 Bytes

Versions: 2

Compression:

Stored size: 360 Bytes

Contents

const CardSectionTitle = ({ title, small }) => {

  const className = classNames({
    'next-heading': true,
    'next-heading--small': small,
    'next-heading--half-margin': small
  });

  return (
    <h2 className={className}>{title}</h2>
  );
};

CardSectionTitle.propTypes = {
  title: React.PropTypes.string.isRequired,
  small: React.PropTypes.bool
};

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
disco_app-0.10.4 app/assets/javascripts/disco_app/components/ui-kit/cards/cart-section-title.es6.jsx
disco_app-0.10.5 app/assets/javascripts/disco_app/components/ui-kit/cards/cart-section-title.es6.jsx