-
{translated.basic}
-
{
- setCurDemo('basic')
- }}
- />
- {curDemo === 'basic' && }
+
+ {translated.basic}
+ {
+ setCurDemo('basic')
+ }}
+ />
+ {curDemo === 'basic' && }
- {translated.multiButtons}
- {
- setCurDemo('multiButtons')
- }}
- />
- {curDemo === 'multiButtons' && }
+ {translated.multiButtons}
+ {
+ setCurDemo('multiButtons')
+ }}
+ />
+ {curDemo === 'multiButtons' && }
- {translated.hasTabbar}
- {
- setCurDemo('hasTabbar')
- }}
- />
- {curDemo === 'hasTabbar' && }
+ {translated.hasTabbar}
+ {
+ setCurDemo('hasTabbar')
+ }}
+ />
+ {curDemo === 'hasTabbar' && }
- {translated.customZIndex}
- {
- setCurDemo('customZIndex')
- }}
- />
- {curDemo === 'customZIndex' && }
+ {translated.customZIndex}
+ {
+ setCurDemo('customZIndex')
+ }}
+ />
+ {curDemo === 'customZIndex' && }
- {translated.customSpacing}
- {
- setCurDemo('customSpacing')
- }}
- />
- {curDemo === 'customSpacing' && }
- {translated.customNode}
- {
- setCurDemo('customNode')
- }}
- />
- {curDemo === 'customNode' && }
- | | | | | | | | |
- >
+ {translated.customSpacing}
+ {
+ setCurDemo('customSpacing')
+ }}
+ />
+ {curDemo === 'customSpacing' && }
+ {translated.customNode}
+ {
+ setCurDemo('customNode')
+ }}
+ />
+ {curDemo === 'customNode' && }
+ | | |
)
}
diff --git a/src/packages/hoverbutton/demos/h5/demo1.tsx b/src/packages/hoverbutton/demos/h5/demo1.tsx
index 7e7e13e5c6..b3ecab4c85 100644
--- a/src/packages/hoverbutton/demos/h5/demo1.tsx
+++ b/src/packages/hoverbutton/demos/h5/demo1.tsx
@@ -1,6 +1,3 @@
-/**
- * 基础用法
- */
import React from 'react'
import { HoverButton, Toast } from '@nutui/nutui-react'
import { Cart } from '@nutui/icons-react'
diff --git a/src/packages/hoverbutton/demos/h5/demo2.tsx b/src/packages/hoverbutton/demos/h5/demo2.tsx
index 0131d06d6d..b7270de979 100644
--- a/src/packages/hoverbutton/demos/h5/demo2.tsx
+++ b/src/packages/hoverbutton/demos/h5/demo2.tsx
@@ -1,6 +1,3 @@
-/**
- * 多个按钮
- */
import React from 'react'
import { HoverButton, Toast } from '@nutui/nutui-react'
import { Cart } from '@nutui/icons-react'
diff --git a/src/packages/hoverbutton/demos/h5/demo3.tsx b/src/packages/hoverbutton/demos/h5/demo3.tsx
index e6d59a4a59..9fb608369b 100644
--- a/src/packages/hoverbutton/demos/h5/demo3.tsx
+++ b/src/packages/hoverbutton/demos/h5/demo3.tsx
@@ -1,6 +1,3 @@
-/**
- * 有底部导航栏的情况
- */
import React from 'react'
import { HoverButton } from '@nutui/nutui-react'
import { Cart } from '@nutui/icons-react'
diff --git a/src/packages/hoverbutton/demos/h5/demo4.tsx b/src/packages/hoverbutton/demos/h5/demo4.tsx
index 04bf24b413..c10c226f48 100644
--- a/src/packages/hoverbutton/demos/h5/demo4.tsx
+++ b/src/packages/hoverbutton/demos/h5/demo4.tsx
@@ -1,6 +1,3 @@
-/**
- * 自定义层级
- */
import React from 'react'
import { HoverButton, SafeArea } from '@nutui/nutui-react'
import { Cart } from '@nutui/icons-react'
diff --git a/src/packages/hoverbutton/demos/h5/demo6.tsx b/src/packages/hoverbutton/demos/h5/demo6.tsx
index 3d0e1eae8b..faba256cd5 100644
--- a/src/packages/hoverbutton/demos/h5/demo6.tsx
+++ b/src/packages/hoverbutton/demos/h5/demo6.tsx
@@ -1,53 +1,48 @@
-/**
- * 基础用法
- */
import React from 'react'
import { HoverButton } from '@nutui/nutui-react'
const Demo1 = () => {
return (
- <>
-