How to use the auto-ui.Alert function in auto-ui

To help you get started, we’ve selected a few auto-ui examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github aotuzuche / auto-ui / docs / src / mobile / alert / index.jsx View on Github external
onClick={async () => {
            await Alert('基本使用')
            console.log(123)
          }}
        >
github aotuzuche / auto-ui / docs / src / mobile / alert / index.jsx View on Github external
onClick={() => {
            const { close } = Alert('主动关闭(2s)')
            setTimeout(() => {
              close()
            }, 2000)
          }}
        >
github aotuzuche / auto-ui / docs / src / mobile / alert / index.jsx View on Github external
onClick={() => {
            Alert('关闭通知', () => {
              Toast('我关闭了')
            })
          }}
        >

auto-ui

auto ui components

MIT
Latest version published 3 months ago

Package Health Score

63 / 100
Full package analysis

Similar packages