import React from "react";

interface Props {
  children: Array<React.ReactNode>;
}

const Examples = ({ children }: Props) => (
  <div className="flow flow-col py-4 -mb-4">
    {React.Children.map(children, (child) => (
      <div className="mb-4">{child}</div>
    ))}
  </div>
);

export default Examples;
