import classNames from "classnames";
import { VuiSpacer, VuiTextColor, VuiTitle } from "../../ui";
type Props = {
children?: React.ReactNode;
className?: string;
href?: string;
onClick: () => void;
title?: string;
};
export const ExampleQuestion = ({ children, className, href, onClick, title, ...rest }: Props) => {
const classes = classNames("exampleQuestion", className);
const content = (
<>
{title && (
<>
{title}
{children && }
>
)}
{children}
>
);
if (href) {
return (
{content}
);
}
return (
);
};