import React from "react";

interface Props {
  isActive: boolean;
  children: React.ReactNode;
}
// TODO write story for tab pane
export default function TabPane({ isActive, children }: Props) {
  return <>{!!isActive && children}</>;
}
