import React, { Component } from 'react'; import ReactDOM from 'react-dom'; import { Con, Row, Col } from 'bee-layout'; import { Panel } from 'bee-panel'; import Drawer from 'bee-drawer'; import Clipboard from 'bee-clipboard'; import Button from '../src'; {demolist} class Demo extends Component { constructor(props){ super(props); this.state = { open: false } } handleClick=()=> { this.setState({ open: !this.state.open }) } fCloseDrawer=()=>{ this.setState({ open: false }) } render () { const { title, example, code, desc, scss_code } = this.props; const header = (

{ title }

{ desc }

查看源码
); return ( {example}
JS代码
                { code }
            
{!!scss_code ?
SCSS代码
:null } { !!scss_code ?
                 { scss_code }
                 
: null }
) } } class DemoGroup extends Component { constructor(props){ super(props) } render () { return ( {DemoArray.map((child,index) => { return ( ) })} ) } } ReactDOM.render(, document.getElementById('tinperBeeDemo'));