import { useState } from "react"; import classNames from "classnames"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { faShapes, faAnglesRight } from "@fortawesome/free-solid-svg-icons"; import { FormattedMessage } from "react-intl"; const TABS_ELEMENTS = [ { icon: faShapes, name: "badgeEditor.tabs.main", }, { icon: faAnglesRight, name: "badgeEditor.tabs.advanced", }, ]; export const EditorTabs = ({ current, onChange, }: { current: number; onChange: (e: number) => void; }) => { return ( // p-2 lg:p-4