mirror of https://github.com/sgoudham/carbon.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
263 B
JavaScript
18 lines
263 B
JavaScript
7 years ago
|
import React from 'react'
|
||
|
|
||
|
// constants
|
||
|
const STATUS = {
|
||
|
IDLE: 'IDLE',
|
||
|
LOADING: 'LOADING',
|
||
|
DEBOUNCED: 'DEBOUNCED'
|
||
|
}
|
||
|
|
||
|
class CopyButton extends React.Component {
|
||
|
constructor(props) {
|
||
|
super(props)
|
||
|
|
||
|
this.state = {
|
||
|
status: STATUS.IDLE
|
||
|
}
|
||
|
}
|
||
|
}
|