1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
import { Card } from "../webpack/common"; interface Props { style?: React.CSSProperties; className?: string; } export function ErrorCard(props: React.PropsWithChildren<Props>) { return ( <Card className={props.className} style={ { padding: "2em", backgroundColor: "#e7828430", borderColor: "#e78284", color: "var(--text-normal)", ...props.style } }> {props.children} </Card> ); }