Skip to content

Instantly share code, notes, and snippets.

@seivan
Created June 21, 2015 18:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seivan/7cff36f4da1681f56e9d to your computer and use it in GitHub Desktop.
Save seivan/7cff36f4da1681f56e9d to your computer and use it in GitHub Desktop.
class ProductTable
extends React.Component<{products:Array<Product>, searchInterface:SearchInterface},any>
implements React.ComponentSpec<{products:Array<Product>, searchInterface:SearchInterface},any> {
constructor(props?: {products:Array<Product>, searchInterface:SearchInterface}, context?: any) {
super(props, context)
this.state = {filterText:'', inStockOnly : false}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment