Minor Changes
-
581f4a5: Support code block tabs without hardcoding
<Tabs />
itemsmigrate: Use the
remarkCodeTab
plugin.before:
import { Tab, Tabs } from 'fumadocs-ui/components/tabs'; <Tabs items={["Tab 1", "Tab 2"]}> ```ts tab console.log('A'); ``` ```ts tab console.log('B'); ``` </Tabs>
after:
import { Tab, Tabs } from 'fumadocs-ui/components/tabs'; ```ts tab="Tab 1" console.log('A'); ``` ```ts tab="Tab 2" console.log('B'); ```