Skip to content

Commit

Permalink
feat(📤): export interface InteractableProps (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
ken0x0a authored and wcandillon committed Jun 29, 2019
1 parent ee7c156 commit 0b44076
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Interactable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ interface Boundaries {
bounce?: number;
}

interface InteractableProps {
export interface InteractableProps {
snapPoints: SnapPoint[];
springPoints?: SpringPoint[];
gravityPoints?: GravityPoint[];
Expand All @@ -286,7 +286,7 @@ interface InteractableProps {
boundaries?: Boundaries;
}

export default class Interactable extends React.PureComponent<
export class Interactable extends React.PureComponent<
InteractableProps
> {
static defaultProps = {
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export { default as ReText } from "./ReText";
export { default as Interactable } from "./Interactable";
export * from "./Interactable";
export * from "./Math";
export * from "./Colors";
export * from "./AnimationRunners";
Expand Down

0 comments on commit 0b44076

Please sign in to comment.