From a8a513cab0ceed7f4fe0feb6e9913fec1739d524 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Fri, 8 Nov 2024 18:41:01 +0800 Subject: [PATCH] doc: Update document. --- core/README.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/core/README.md b/core/README.md index 0b943e22..cb034d4a 100644 --- a/core/README.md +++ b/core/README.md @@ -39,7 +39,9 @@ const value = [ { date: '2016/01/11', count: 2 }, { date: '2016/01/12', count: 20 }, { date: '2016/01/13', count: 10 }, - ...[...Array(17)].map((_, idx) => ({ date: `2016/02/${idx + 10}`, count: idx, content: '' })), + ...[...Array(17)].map((_, idx) => ({ + date: `2016/02/${idx + 10}`, count: idx, content: '' + })), { date: '2016/04/11', count: 2 }, { date: '2016/05/01', count: 5 }, { date: '2016/05/02', count: 5 }, @@ -154,7 +156,14 @@ const Demo = () => { const [range, setRange] = useState(5) return (
- setRange(e.target.value)} /> {range} + setRange(e.target.value)} + /> {range}