mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-11-30 16:48:21 +01:00
18 lines
534 B
TypeScript
18 lines
534 B
TypeScript
import { Alert, AlertContent, AlertDescription, AlertTitle } from "@lcui/react";
|
|
import { ErrorCircle } from "@lcui/fluent-icons";
|
|
|
|
export default function Example() {
|
|
return (
|
|
<Alert variant="destructive" className="w-full max-w-md">
|
|
<ErrorCircle />
|
|
<AlertContent>
|
|
<AlertTitle>Payment failed</AlertTitle>
|
|
<AlertDescription>
|
|
Your payment could not be processed. Please check your payment method
|
|
and try again.
|
|
</AlertDescription>
|
|
</AlertContent>
|
|
</Alert>
|
|
);
|
|
}
|