12345678910111213141516 |
- import React from 'react';
- import { Button } from "reactstrap";
- export default class User extends React.Component{
- render(){
- return (
- <div>
- {this.props.title + " - " + this.props.app.hello()}
- {": Name = " + this.props.name}
- {", Counter = " + this.props.counter + ", "}
- <Button color="info" onClick={(idx) => this.props.doClick(idx)}>Increment</Button>
- </div>
- )
- }
- }
|