Skip to content

Commit

Permalink
fix(types): Add onAnimationEnd to props (#241)
Browse files Browse the repository at this point in the history
Add onAnimationEnd to props

* Update index.d.ts
  • Loading branch information
Nico Montanari authored and iRoachie committed Sep 28, 2018
1 parent 2e2e43d commit 5b0243d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@ export interface CollapsibleProps {
* Optional styling for the container
*/
style?: StyleProp<ViewStyle>;

/**
* Function called when the animation finished
*/
onAnimationEnd?: () => void;
}

export default class Collapsible extends React.Component<CollapsibleProps> {}

0 comments on commit 5b0243d

Please sign in to comment.