From cf7ea6492c0f6076007381a2e36f69f53fc63c39 Mon Sep 17 00:00:00 2001 From: Chris Gervang Date: Sat, 25 Mar 2017 17:51:11 -0700 Subject: [PATCH] recommended pattern --- types/reactcss/reactcss-tests.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/types/reactcss/reactcss-tests.tsx b/types/reactcss/reactcss-tests.tsx index 2905a07f79..0ba1f69fc2 100644 --- a/types/reactcss/reactcss-tests.tsx +++ b/types/reactcss/reactcss-tests.tsx @@ -44,19 +44,19 @@ const TestLoop: SFC = (props) => { border: "1px solid black" } }, - first: { + "first-child": { element: { borderTopLeftRadius: "2px", borderTopRightRadius: "2px" } }, - last: { + "last-child": { element: { borderBottomLeftRadius: "2px", borderBottomRightRadius: "2px" } } - }, { first: props["first-child"], last: props["last-child"] }) + }, props) return
{props.children}
}