17 lines
304 B
TypeScript
17 lines
304 B
TypeScript
interface CommandBarOverwriteWarningProps {
|
|
heading: string
|
|
message: string
|
|
}
|
|
|
|
export function CommandBarOverwriteWarning({
|
|
heading,
|
|
message,
|
|
}: CommandBarOverwriteWarningProps) {
|
|
return (
|
|
<>
|
|
<p className="font-bold text-destroy-60">{heading}</p>
|
|
<p>{message}</p>
|
|
</>
|
|
)
|
|
}
|