We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebdfdae commit 4992f36Copy full SHA for 4992f36
src/basic-ui/miniBox.tsx
@@ -28,7 +28,7 @@ const uiSizeStyle = {
28
[MiniUiSize.NONE]: "",
29
};
30
31
-export default function MiniBox({
+export const MiniBox({
32
children,
33
className = "",
34
ui = MiniUiType.NONE,
@@ -38,7 +38,7 @@ export default function MiniBox({
38
uiMotion,
39
viewport = defaultViewport,
40
...props
41
-}: MiniBoxProps) {
+}: MiniBoxProps) => {
42
const animation: Variants = mergeVariants(uiMotion, uiHover);
43
const baseStyle = `${uiSizeStyle[uiSize]} ${uiStyle[ui]}`;
44
0 commit comments