From f33bcc9e87967e3458550118a50fb7e11151f4c4 Mon Sep 17 00:00:00 2001 From: briandennis Date: Sun, 18 Jun 2017 21:49:44 -0700 Subject: [PATCH] add copy button --- components/CopyButton.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 components/CopyButton.js diff --git a/components/CopyButton.js b/components/CopyButton.js new file mode 100644 index 0000000..1a96693 --- /dev/null +++ b/components/CopyButton.js @@ -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 + } + } +} \ No newline at end of file