import * as React from "react"; import { MessageCard, BUTTON_KIND } from "baseui/message-card"; import valley from "./images/valley.jpg"; import moto from "./images/moto.jpg"; import dinner from "./images/dinner.jpg"; import train from "./images/train.jpg"; import { colors } from "baseui/tokens"; export default function Example() { return (
alert("Clicked 🙂")} image={{ src: valley, ariaLabel: "A woman hiking through a valley with a yellow backpack", }} backgroundColor={colors.teal200} overrides={{ Root: { style: { marginBottom: "30px" } } }} /> alert("Clicked 🙂")} image={{ src: moto, ariaLabel: "Driving a motorcycle with a delivery container on the back", }} backgroundColor={colors.purple600} overrides={{ Root: { style: { marginBottom: "30px" } } }} /> alert("Clicked 🙂")} image={{ src: train, ariaLabel: "A train moving across an arched bridge through a green countryside", }} backgroundColor={colors.white} overrides={{ Root: { style: { marginBottom: "30px" } } }} /> alert("Clicked 🙂")} image={{ src: dinner, ariaLabel: "A table with freshly prepared food", }} backgroundColor={colors.brown500} />
); }