diff --git a/src/packages/avatar/demos/taro/demo5.tsx b/src/packages/avatar/demos/taro/demo5.tsx index 909038a1bf..ea7d8ee9e2 100644 --- a/src/packages/avatar/demos/taro/demo5.tsx +++ b/src/packages/avatar/demos/taro/demo5.tsx @@ -1,5 +1,6 @@ import React from 'react' -import { Avatar, Badge, Cell } from '@nutui/nutui-react-taro' +// import { Avatar, Badge, Cell } from '@nutui/nutui-react-taro' +import { Avatar, Cell } from '@nutui/nutui-react-taro' import { User } from '@nutui/icons-react-taro' import { harmonyAndRn } from '@/utils/platform-taro' @@ -8,12 +9,12 @@ const Demo5 = () => { {harmonyAndRn() ? null : ( <> - - } shape="square" /> - - - } shape="square" /> - + {/* */} + } shape="square" /> + {/* */} + {/* */} + } shape="square" /> + {/* */} )} diff --git a/src/packages/configprovider/demos/taro/demo1.tsx b/src/packages/configprovider/demos/taro/demo1.tsx index 58c81a15e4..3c348b2f2d 100644 --- a/src/packages/configprovider/demos/taro/demo1.tsx +++ b/src/packages/configprovider/demos/taro/demo1.tsx @@ -1,13 +1,14 @@ import React from 'react' -import { ConfigProvider, Cell, Rate, Button } from '@nutui/nutui-react-taro' -import { harmonyAndRn } from '@/utils/platform-taro' +// import { ConfigProvider, Cell, Rate, Button } from '@nutui/nutui-react-taro' +import { ConfigProvider, Cell, Button } from '@nutui/nutui-react-taro' +// import { harmonyAndRn } from '@/utils/platform-taro' // todo rate icon const Demo1 = () => { return ( <> - {harmonyAndRn() ? null : } + {/* {harmonyAndRn() ? null : } */}