Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | 1x | import React from "react"; import { Alert } from "@tencent/tea-component/lib/alert"; export default function AlertExample() { return ( <> <Alert>提示消息</Alert> <Alert type="success" style={{ marginTop: 8 }}> 成功提示 </Alert> <Alert type="warning" style={{ marginTop: 8 }}> 告警提示 </Alert> <Alert type="error" style={{ marginTop: 8 }}> 异常提示 </Alert> </> ); } |