import FirstPanel from "./First";
import SecondPanel from "./Second";
import ThirdPanel from "./Third";

function TextInfoPanel({ type }) {
  switch (type) {
    case 1:
      return <FirstPanel />;
    case 2:
      return <SecondPanel />;
    case 3:
      return <ThirdPanel />;

    default:
      break;
  }
}

export default TextInfoPanel;
