import { VNode, toChildArray } from "preact"; export function OL(props: {children?: VNode | VNode[], color?: string;}) { const childs = toChildArray(props.children); props.color = props.color || 'bg-sky'; return (
    {childs.map((c,i) => (
  1. {i+1} {i+1}
    {c}
  2. ))}
) }