Sha256: 3167be93aed91b2bb732b10a7dbd1318a3b17b17e19bec1c36ba70f8623d3247

Contents?: true

Size: 426 Bytes

Versions: 26

Compression:

Stored size: 426 Bytes

Contents

import React, { Component } from "react";
import PropTypes from "prop-types";

const propTypes = {
  children: PropTypes.oneOfType([
      PropTypes.arrayOf(PropTypes.node),
      PropTypes.node
  ])
};

class ListItem extends Component {
  render() {
    const {
      children
    } = this.props;
    return (
      <li>
        {children}
      </li>
    );
  }
}

ListItem.propTypes = propTypes;

export default ListItem;

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
playbook_ui-3.1.0 app/pb_kits/playbook/pb_list/_list_item.jsx
playbook_ui-3.0.1 app/pb_kits/playbook/pb_list/_list_item.jsx
playbook_ui-3.0.0 app/pb_kits/playbook/pb_list/_list_item.jsx
playbook_ui-2.9.9 app/pb_kits/playbook/pb_list/_list_item.jsx
playbook_ui-2.9.8 app/pb_kits/playbook/pb_list/_list_item.jsx
playbook_ui-2.9.7 app/pb_kits/playbook/pb_list/_list_item.jsx
playbook_ui-2.9.6 app/pb_kits/playbook/pb_list/_list_item.jsx
playbook_ui-2.9.5 app/pb_kits/playbook/pb_list/_list_item.jsx
playbook_ui-2.9.4 app/pb_kits/playbook/pb_list/_list_item.jsx
playbook_ui-2.9.3 app/pb_kits/playbook/pb_list/_list_item.jsx
playbook_ui-2.9.2 app/pb_kits/playbook/pb_list/_list_item.jsx
playbook_ui-2.9.1 app/pb_kits/playbook/pb_list/_list_item.jsx
playbook_ui-2.9.0 app/pb_kits/playbook/pb_list/_list_item.jsx
playbook_ui-2.8.9 app/pb_kits/playbook/pb_list/_list_item.jsx
playbook_ui-2.8.8 app/pb_kits/playbook/pb_list/_list_item.jsx
playbook_ui-2.8.7 app/pb_kits/playbook/pb_list/_list_item.jsx
playbook_ui-2.8.6 app/pb_kits/playbook/pb_list/_list_item.jsx
playbook_ui-2.8.5 app/pb_kits/playbook/pb_list/_list_item.jsx
playbook_ui-2.8.4 app/pb_kits/playbook/pb_list/_list_item.jsx
playbook_ui-2.8.3 app/pb_kits/playbook/pb_list/_list_item.jsx