diff --git a/src/packages/empty/demos/taro/demo7.tsx b/src/packages/empty/demos/taro/demo7.tsx index 3d34af9ca..a70f94572 100644 --- a/src/packages/empty/demos/taro/demo7.tsx +++ b/src/packages/empty/demos/taro/demo7.tsx @@ -1,22 +1,25 @@ import React from 'react' -import { Empty, Toast } from '@nutui/nutui-react' +import { Empty, Toast } from '@nutui/nutui-react-taro' const Demo7 = () => { return ( - { - Toast.show({ title: 'Action Click!' }) + <> + + { + Toast.show('toast-empty', { title: 'Action Click!' }) + }, }, - }, - ]} - /> + ]} + /> + ) } export default Demo7