mirror of https://github.com/sgoudham/carbon.git
add copy button
parent
818e2d45d3
commit
f33bcc9e87
@ -0,0 +1,18 @@
|
|||||||
|
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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue