Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import React, { Component } from 'react'
- ...
- class UserCard extends Component {
- constructor(props) {
- super(props);
- this.state = {
- name: 'Akexorcist'
- }
- this.onButtonClick = this.onButtonClick.bind(this);
- }
- onButtonClick() {
- ...
- }
- ...
- }
- export default UserCard
Add Comment
Please, Sign In to add comment