Created
May 31, 2016 16:24
-
-
Save bali182/3f3cd855cd435e4add90a9f3e776be79 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <reference path="react.d.ts"/> | |
declare module "react-responsive-grid" { | |
import {Component} from 'react' | |
import * as React from 'react' | |
interface ContainerProps { | |
children?: any | |
style?: Object | |
} | |
export class Container extends Component<ContainerProps, {}> {} | |
interface GridProps { | |
columns?: number | |
gutterRatio?: number | |
} | |
export class Grid extends Component<GridProps, {}> {} | |
interface SpanProps { | |
context?: Object | |
columns?: number | |
at?: number | |
pre?: number | |
post?: number | |
squish?: number | |
last?: boolean | |
break?: boolean | |
} | |
export class Span extends Component<SpanProps, {}> {} | |
interface BreakpointProps { | |
widthMethod: string | |
minWidth?: number | |
maxWidth?: number | |
} | |
export class Breakpoint extends Component<BreakpointProps, {}> {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment