Skip to content

Commit 4992f36

Browse files
committed
Feat: v1_complate
1 parent ebdfdae commit 4992f36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/basic-ui/miniBox.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const uiSizeStyle = {
2828
[MiniUiSize.NONE]: "",
2929
};
3030

31-
export default function MiniBox({
31+
export const MiniBox({
3232
children,
3333
className = "",
3434
ui = MiniUiType.NONE,
@@ -38,7 +38,7 @@ export default function MiniBox({
3838
uiMotion,
3939
viewport = defaultViewport,
4040
...props
41-
}: MiniBoxProps) {
41+
}: MiniBoxProps) => {
4242
const animation: Variants = mergeVariants(uiMotion, uiHover);
4343
const baseStyle = `${uiSizeStyle[uiSize]} ${uiStyle[ui]}`;
4444

0 commit comments

Comments
 (0)