From 44022e0f1f8faefd42a4eb747fd3ed9e68fb0721 Mon Sep 17 00:00:00 2001 From: Erin Noe-Payne Date: Thu, 9 May 2019 23:59:25 -0600 Subject: [PATCH] remove reference to styled components css prop (#35296) --- types/rebass__grid/index.d.ts | 2 -- types/rebass__grid/rebass__grid-tests.tsx | 21 --------------------- 2 files changed, 23 deletions(-) diff --git a/types/rebass__grid/index.d.ts b/types/rebass__grid/index.d.ts index 7bfe69e6ea..2c417ae83d 100644 --- a/types/rebass__grid/index.d.ts +++ b/types/rebass__grid/index.d.ts @@ -10,7 +10,6 @@ // TypeScript Version: 2.9 import * as React from "react"; -import { Interpolation } from "styled-components"; import * as StyledSystem from "styled-system"; export {}; @@ -19,7 +18,6 @@ type Omit = Pick>; export interface BaseProps extends React.Props { as?: React.ElementType; - css?: Interpolation; } interface BoxKnownProps diff --git a/types/rebass__grid/rebass__grid-tests.tsx b/types/rebass__grid/rebass__grid-tests.tsx index d8017b2e7f..5e364e3c85 100644 --- a/types/rebass__grid/rebass__grid-tests.tsx +++ b/types/rebass__grid/rebass__grid-tests.tsx @@ -1,6 +1,5 @@ import * as React from "react"; import { Flex, Box } from "@rebass/grid"; -import { css } from "styled-components"; import * as Emotion from "@rebass/grid/emotion"; const test = () => ( @@ -118,28 +117,8 @@ const Layout = () => ( ); -const cssTest = ( - - - -); - const EmotionLayout = () => ( ); - -const emotionCssTest = ( - - - -);