import { JSX, JSXElement } from 'solid-js'; import { COLORS } from 'src/colors'; type SSCalloutProps = JSX.HTMLAttributes & { color: (typeof COLORS)[number]; icon: JSXElement; }; function SSCallout(props: SSCalloutProps) { const { icon, color, class: className, style, children, ...rest } = props; return (
{icon}
{children}
); } export { SSCallout };