Skip to content

Commit 53d44c0

Browse files
committed
fix: cd.yml
fix: Scrollable export
1 parent a7f9c9a commit 53d44c0

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

.github/workflows/cd.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ jobs:
1717
with:
1818
node-version: "14"
1919
- uses: actions/checkout@v2
20-
- uses: actions/cache@v2
21-
id: yarn-cache
22-
with:
23-
path: |
24-
**/node_modules
25-
.yarn/cache
26-
key: ${{ runner.os }}-modules-${{ hashFiles('yarn.lock') }}
20+
- uses: actions/cache@v2
21+
id: yarn-cache
22+
with:
23+
path: |
24+
**/node_modules
25+
.yarn/cache
26+
key: ${{ runner.os }}-modules-${{ hashFiles('yarn.lock') }}
2727
- run: yarn install
2828
if: steps.yarn-cache.outputs.cache-hit != 'true'
2929
- run: yarn run build

packages/fuselage/src/components/Box/Scrollable/index.d.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ type ScrollableProps = PropsWithChildren<{
55
vertical?: boolean;
66
onScrollContent?: (touching: { top: boolean }) => void;
77
}>;
8-
export const Scrollable: ForwardRefExoticComponent<ScrollableProps>;
8+
const Scrollable: ForwardRefExoticComponent<ScrollableProps>;
9+
export default Scrollable;

packages/fuselage/src/components/Box/index.d.ts

+2
Original file line numberDiff line numberDiff line change
@@ -147,3 +147,5 @@ type BoxProps = PropsWithChildren<{
147147
RefAttributes<unknown>;
148148

149149
export const Box: ForwardRefExoticComponent<BoxProps>;
150+
151+
export { default as Scrollable } from './Scrollable';

0 commit comments

Comments
 (0)