Skip to content
This repository was archived by the owner on Nov 3, 2025. It is now read-only.

Commit 193fd03

Browse files
committed
🔖 (transitions) add subpackage
1 parent 134019f commit 193fd03

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
},
2222
"scripts": {
2323
"post-install": "patch-package",
24-
"build": "tsc",
24+
"build": "tsc && cp src/transitions/package.json dist/transitions/package.json",
2525
"coveralls": "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls",
2626
"predoc:build": "cd example && yarn && cd ..",
2727
"doc:build": "docz build",

src/Screen.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,4 @@ class ScreenComponent extends ReactComponent<WithBackContext<ScreenProps>, Scree
8080
}
8181

8282
// @ts-ignore
83-
export const Screen = withBackContext(ScreenComponent);
83+
export const Screen: React.FunctionComponent<ScreenProps> = withBackContext(ScreenComponent);

src/transitions/package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"name": "react-gondola/transitions",
3+
"typings": "./index.d.ts",
4+
"main": "./index.js"
5+
}

0 commit comments

Comments
 (0)