From 1b10770fd9845857a389b59b54be333a0a2fc98d Mon Sep 17 00:00:00 2001 From: Myeonghwan Cho Date: Sat, 25 Dec 2021 15:59:47 +0900 Subject: [PATCH] Improve shouldForwardProp example --- docs/styled.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/styled.mdx b/docs/styled.mdx index 19220201f..4b05a93c4 100644 --- a/docs/styled.mdx +++ b/docs/styled.mdx @@ -170,7 +170,7 @@ const H1 = styled('h1', { shouldForwardProp: prop => isPropValid(prop) && prop !== 'color' })(props => ({ - color: 'hotpink' + color: props.color })) render(

This is lightgreen.

)