Skip to content

OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.

378 B
Raw Blame
import { Text } from '@react-email/components';
import type React from 'react';

export function List({ items }: { items: React.ReactNode[] }) {
  return (
    <ul style={{ paddingLeft: 20 }}>
      {items.map((node, index) => (
        <li key={index.toString()}>
          <Text style={{ marginBottom: 2, marginTop: 2 }}>{node}</Text>
        </li>
      ))}
    </ul>
  );
}