import { Con, Row, Col } from 'bee-layout'; import { Panel } from 'bee-panel'; import Button from 'bee-button'; import React, { Component } from 'react'; import ReactDOM from 'react-dom'; import Table from '../src'; import Animate from 'bee-animate'; import Pagination from "bee-pagination"; import Icon from "bee-icon"; import InputGroup from 'bee-input-group'; import FormControl from 'bee-form-control'; import Input from 'bee-form-control'; import Popconfirm from 'bee-popconfirm'; const CARET = ; const CARETUP = ; {demolist} class Demo extends Component { constructor(props){ super(props); this.state = { open: false } this.handleClick = this.handleClick.bind(this); } handleClick() { this.setState({ open: !this.state.open }) } render () { const { title, example, code, desc } = this.props; let caret = this.state.open ? CARETUP : CARET; let text = this.state.open ? "隐藏代码" : "查看代码"; const footer = ( ); const header = ( { example } ); return (

{ title }

{ desc }

{ code }
) } } class DemoGroup extends Component { constructor(props){ super(props) } render () { return ( {DemoArray.map((child,index) => { return ( ) })} ) } } ReactDOM.render(, document.getElementById('tinperBeeDemo'));