import { Tabs } from "@navikt/ds-react";

const TabComp = () => {
  return (
    /* prettier-ignore */
    <Tabs defaultValue="logg" onChange={(x) => console.info(x)}>
      <Tabs.List loop>
        <Tabs.Tab value="logg" iconPosition="left" label="logg" />
        <Tabs.Tab value="logg2" iconPosition="top" label="logg2medlangtekst" />
      </Tabs.List>
      <Tabs.Panel value="logg">TabPanel for Logg-tab</Tabs.Panel>
      <Tabs.Panel value="logg2">TabPanel for Inbox-tab</Tabs.Panel>
    </Tabs>
  );
};
