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

Commit 88c4087

Browse files
committed
feat(*): stopped using named export and moved to default export.
1 parent 8ff0cb9 commit 88c4087

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/core/index.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
export { Style } from './style';
2-
export { media } from './media-query';
1+
export * from './breakpoint';
2+
import Style from './style';
3+
export default Style;

src/core/style.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { set } from './method/set';
44
import { global } from './method/global';
55
import { root } from './method/root';
66

7-
export class Style {
7+
class Style {
88
static create<T extends ClassesObjectType>(object: ExactClassesObjectType<T>): ReturnStyleType<T> {
99
return create(object);
1010
}
@@ -18,3 +18,5 @@ export class Style {
1818
return root(object);
1919
}
2020
}
21+
22+
export default Style;

0 commit comments

Comments
 (0)