-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
32 additions
and
30 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
apps/docs/content/components/user/link-description.raw.jsx
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import {User, Link} from "@nextui-org/react"; | ||
|
||
export default function App() { | ||
return ( | ||
<User | ||
avatarProps={{ | ||
src: "https://avatars.githubusercontent.com/u/30373425?v=4", | ||
}} | ||
description={ | ||
<Link isExternal href="https://x.com/jrgarciadev" size="sm"> | ||
@jrgarciadev | ||
</Link> | ||
} | ||
name="Junior Garcia" | ||
/> | ||
); | ||
} |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import {User} from "@nextui-org/react"; | ||
|
||
export default function App() { | ||
return ( | ||
<User | ||
avatarProps={{ | ||
src: "https://i.pravatar.cc/150?u=a04258114e29026702d", | ||
}} | ||
description="Product Designer" | ||
name="Jane Doe" | ||
/> | ||
); | ||
} |
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