[rebass] fix as prop per styled-components docs

This commit is contained in:
Sara Federico
2019-02-01 14:11:23 -05:00
committed by GitHub
parent e6a4ba0c97
commit dbf5f097cc

View File

@@ -3,6 +3,7 @@
// Definitions by: rhysd <https://github.com/rhysd>
// ryee-dev <https://github.com/ryee-dev>
// jamesmckenzie <https://github.com/jamesmckenzie>
// sara f-p <https://github.com/gretzky>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
@@ -10,7 +11,7 @@ import * as React from "react";
export interface BaseProps<C> extends React.ClassAttributes<C> {
className?: string;
as?: string;
as?: any;
}
export interface SpaceProps<C> extends BaseProps<C> {