Skip to content

Commit 20eaab7

Browse files
committed
unstable/SimpleCheckbox: use named export
1 parent c953fee commit 20eaab7

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

src/components/SimpleCheckbox/SimpleCheckbox.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,3 @@ export const SimpleCheckbox: React.FC<SimpleCheckboxProps> = (
141141
</Tappable>
142142
);
143143
};
144-
145-
// eslint-disable-next-line import/no-default-export
146-
export default SimpleCheckbox;

src/unstable/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ export type { PopperProps } from "../components/Popper/Popper";
1919
export { ViewInfinite } from "../components/View/ViewInfinite";
2020
export type { ViewInfiniteProps } from "../components/View/ViewInfinite";
2121

22-
export { default as SimpleCheckbox } from "./../components/SimpleCheckbox/SimpleCheckbox";
23-
export type { SimpleCheckboxProps } from "./../components/SimpleCheckbox/SimpleCheckbox";
22+
export { SimpleCheckbox } from "../components/SimpleCheckbox/SimpleCheckbox";
23+
export type { SimpleCheckboxProps } from "../components/SimpleCheckbox/SimpleCheckbox";

0 commit comments

Comments
 (0)