From d81592ec970d207d4e37beb6c275ad6b77979e39 Mon Sep 17 00:00:00 2001 From: Haishan Date: Fri, 20 Dec 2019 17:45:05 +0800 Subject: feat: support proxy provider --- src/components/Button.js | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/components/Button.js') diff --git a/src/components/Button.js b/src/components/Button.js index f56049e..5b0365b 100644 --- a/src/components/Button.js +++ b/src/components/Button.js @@ -1,4 +1,5 @@ import React from 'react'; +import cx from 'classnames'; import s0 from 'c/Button.module.css'; const noop = () => {}; @@ -13,6 +14,14 @@ function Button({ children, label, onClick = noop }, ref) { ); } +export function ButtonPlain({ children, label, onClick = noop }) { + return ( + + ); +} + function WithIcon({ text, icon, onClick = noop }, ref) { return (