Skip to content

Commit 0b44076

Browse files
ken0x0awcandillon
authored andcommitted
feat(📤): export interface InteractableProps (#73)
1 parent ee7c156 commit 0b44076

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Interactable.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ interface Boundaries {
264264
bounce?: number;
265265
}
266266

267-
interface InteractableProps {
267+
export interface InteractableProps {
268268
snapPoints: SnapPoint[];
269269
springPoints?: SpringPoint[];
270270
gravityPoints?: GravityPoint[];
@@ -286,7 +286,7 @@ interface InteractableProps {
286286
boundaries?: Boundaries;
287287
}
288288

289-
export default class Interactable extends React.PureComponent<
289+
export class Interactable extends React.PureComponent<
290290
InteractableProps
291291
> {
292292
static defaultProps = {

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export { default as ReText } from "./ReText";
2-
export { default as Interactable } from "./Interactable";
2+
export * from "./Interactable";
33
export * from "./Math";
44
export * from "./Colors";
55
export * from "./AnimationRunners";

0 commit comments

Comments
 (0)