From 6393f790d632f16d4e4eb50e6319237725723a9a Mon Sep 17 00:00:00 2001 From: Joshua Date: Wed, 28 Sep 2022 13:00:21 +0100 Subject: [PATCH] Minor docs fix for specifying color --- packages/pie/stories/pie.stories.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/pie/stories/pie.stories.tsx b/packages/pie/stories/pie.stories.tsx index 389aa1b1a..b0c94aaea 100644 --- a/packages/pie/stories/pie.stories.tsx +++ b/packages/pie/stories/pie.stories.tsx @@ -97,7 +97,7 @@ stories.add( It's also possible to pass a function if you want to handle more advanced computation: \`\`\` - colors={(datum) => datum.color }} + colors={(datum) => datum.color} \`\`\` `, },