react-expand
Advanced tools
Comparing version 2.5.2 to 2.6.0
@@ -9,2 +9,3 @@ /// <reference types="react" /> | ||
ref?: PropTypes.Validator<any>; | ||
state?: PropTypes.Validator<any>; | ||
expandId: PropTypes.Validator<any>; | ||
@@ -356,2 +357,3 @@ staticState?: PropTypes.Validator<any>; | ||
ref?: any; | ||
state?: any; | ||
expandId?: string; | ||
@@ -358,0 +360,0 @@ staticState?: boolean; |
import * as PropTypes from "prop-types"; | ||
export interface ExpandControlProps extends React.HTMLProps<HTMLButtonElement> { | ||
ref?: any; | ||
state?: any; | ||
expandId: string; | ||
@@ -5,0 +6,0 @@ staticState?: boolean; |
@@ -15,2 +15,3 @@ /// <reference types="react" /> | ||
ref?: PropTypes.Validator<any>; | ||
state?: PropTypes.Validator<any>; | ||
expandId: PropTypes.Validator<any>; | ||
@@ -357,2 +358,3 @@ staticState?: PropTypes.Validator<any>; | ||
ref?: any; | ||
state?: any; | ||
expandId?: string; | ||
@@ -359,0 +361,0 @@ staticState?: boolean; |
{ | ||
"name": "react-expand", | ||
"version": "2.5.2", | ||
"version": "2.6.0", | ||
"description": "Simple element expand state controlling", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
@@ -96,2 +96,3 @@ # React Expand | ||
activeClassName="is-active" | ||
state={{myData: true}} | ||
activeOnMount | ||
@@ -98,0 +99,0 @@ > |
Sorry, the diff of this file is too big to display
382867
7403
334