-
-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ feat: Update mdx components to next rsc
- Loading branch information
1 parent
8896a39
commit 276effc
Showing
16 changed files
with
254 additions
and
214 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
import { Typography } from '@lobehub/ui'; | ||
import { Tabs } from '@lobehub/ui/mdx'; | ||
import { Tab, Tabs } from '@lobehub/ui/mdx'; | ||
|
||
export default () => ( | ||
<Typography> | ||
<Tabs items={['pnpm', 'npm', 'yarn']}> | ||
<Tabs.Tab>pnpm: Fast, disk space efficient package manager.</Tabs.Tab> | ||
<Tabs.Tab>npm is a package manager for the JavaScript programming language.</Tabs.Tab> | ||
<Tabs.Tab>Yarn is a software packaging system.</Tabs.Tab> | ||
<Tab>pnpm: Fast, disk space efficient package manager.</Tab> | ||
<Tab>npm is a package manager for the JavaScript programming language.</Tab> | ||
<Tab>Yarn is a software packaging system.</Tab> | ||
</Tabs> | ||
</Typography> | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.