MCPcopy Create free account
hub / github.com/reactstrap/reactstrap / render

Method render

types/reactstrap-tests.tsx:2628–2661  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2626 }
2627
2628 render() {
2629 return (
2630 <div>
2631 <Button color="danger" onClick={this.toggle}>
2632 {this.props.buttonLabel}
2633 </Button>
2634 <Modal
2635 isOpen={this.state.modal}
2636 toggle={this.toggle}
2637 className={this.props.className}
2638 container="#test"
2639 >
2640 <ModalHeader toggle={this.toggle}>Modal title</ModalHeader>
2641 <ModalBody>
2642 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
2643 eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim
2644 ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut
2645 aliquip ex ea commodo consequat. Duis aute irure dolor in
2646 reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
2647 pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
2648 culpa qui officia deserunt mollit anim id est laborum.
2649 </ModalBody>
2650 <ModalFooter>
2651 <Button color="primary" onClick={this.toggle}>
2652 Do Something
2653 </Button>{' '}
2654 <Button color="secondary" onClick={this.toggle}>
2655 Cancel
2656 </Button>
2657 </ModalFooter>
2658 </Modal>
2659 </div>
2660 );
2661 }
2662}
2663
2664class ModalExample73 extends React.Component<any, any> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected