From c4be0a57c34fd9ee36dcda0dd3b829d9859e19d6 Mon Sep 17 00:00:00 2001 From: Ika Date: Mon, 2 Jul 2018 08:23:21 +0800 Subject: [PATCH] feat(playground): add description for options (#4785) * feat(playground): add description for options * fix: support opposite description * refactor --- website/playground/sidebar/inputs.js | 11 ++++++----- website/playground/sidebar/options.js | 10 ++++++++++ 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/website/playground/sidebar/inputs.js b/website/playground/sidebar/inputs.js index 48768f7aa..174bb9192 100644 --- a/website/playground/sidebar/inputs.js +++ b/website/playground/sidebar/inputs.js @@ -1,8 +1,8 @@ import React from "react"; -export function Checkbox({ label: _label, checked, onChange }) { +export function Checkbox({ label: _label, title, checked, onChange }) { return ( -