Sha256: 9cad0bc27c82e3117b9b8420edb80ce9dfa931c4749b8122c32d678e95c13468

Contents?: true

Size: 514 Bytes

Versions: 6

Compression:

Stored size: 514 Bytes

Contents

import React from 'react';
import PropTypes from "prop-types";

const propTypes = {
  className: PropTypes.string,
  text: PropTypes.string
};

const defaultProps = {
  text: "I am a react kit"
};

class LineGraph extends React.Component {
  render() {
    const {
      className,
      text
    } = this.props;

    return (
      <div className={className}>
        <span>{text}</span>
      </div>
    )
  }
}

LineGraph.propTypes = propTypes;
LineGraph.defaultProps = defaultProps;

export default LineGraph;

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
playbook_ui-2.8.7 app/pb_kits/playbook/pb_line_graph/_line_graph.jsx
playbook_ui-2.8.6 app/pb_kits/playbook/pb_line_graph/_line_graph.jsx
playbook_ui-2.8.5 app/pb_kits/playbook/pb_line_graph/_line_graph.jsx
playbook_ui-2.8.4 app/pb_kits/playbook/pb_line_graph/_line_graph.jsx
playbook_ui-2.8.3 app/pb_kits/playbook/pb_line_graph/_line_graph.jsx
playbook_ui-2.8.1 app/pb_kits/playbook/pb_line_graph/_line_graph.jsx