From d424daf6cb247c1839f158d96d2addfcf606c63c Mon Sep 17 00:00:00 2001 From: rishichawda Date: Mon, 25 Feb 2019 13:25:26 +0530 Subject: [PATCH] refactor(multiselectcheckbox): update component name --- snippets/MultiselectCheckbox.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snippets/MultiselectCheckbox.md b/snippets/MultiselectCheckbox.md index bdb6ef5e8..5fe3cb13c 100644 --- a/snippets/MultiselectCheckbox.md +++ b/snippets/MultiselectCheckbox.md @@ -20,7 +20,7 @@ const style = { } }; -export default function MultiCheckbox ({ options, onChange }) { +export default function MultiselectCheckbox ({ options, onChange }) { const [data, setData] = React.useState(options); function toggle (item) { @@ -56,7 +56,7 @@ export default function MultiCheckbox ({ options, onChange }) { const options = [{ label: "Item One" }, { label: "Item Two" }]; ReactDOM.render( - { console.log(data);