// @errors: 2322

// Represents anything a React component can render
const examples: React.ReactNode[] = [
  <div />,
  "Hello!",
  123,
  undefined,
];

// Only represents JSX
const examples2: JSX.Element[] = [
  <div />,
  "Hello!",
  123,
  undefined,
];
