File tree Expand file tree Collapse file tree 4 files changed +22
-4
lines changed Expand file tree Collapse file tree 4 files changed +22
-4
lines changed Original file line number Diff line number Diff line change @@ -39,9 +39,9 @@ export const componentConfig = {
3939 </details>
4040</div>` ,
4141 } ,
42- "avatar-style-round " : {
43- name : "avatar-style-round " ,
44- preview : lazy ( ( ) => import ( "@/preview/components/avatar-style-round " ) ) ,
42+ "avatar-style-circle " : {
43+ name : "avatar-style-circle " ,
44+ preview : lazy ( ( ) => import ( "@/preview/components/avatar-style-circle " ) ) ,
4545 codeHtml : `<div className="inline-block w-14 h-14 border-2 border-black rounded-full overflow-hidden">
4646 <img
4747 className="w-full h-full"
Original file line number Diff line number Diff line change 1+ ---
2+ title : Default Avatar
3+ description : Default rounded avatar that can show your users profile picture. ✨
4+ lastUpdated : 30 Sep, 2024
5+ ---
6+
7+ import {ComponentShowcase } from " @/components"
8+
9+ <ComponentShowcase name = " avatar-style-circle" />
Original file line number Diff line number Diff line change 1+ ---
2+ title : Default Badge
3+ description : The component that looks like a button that's not clickable!
4+ lastUpdated : 30 Sep, 2024
5+ ---
6+
7+ import {ComponentShowcase } from " @/components"
8+
9+ <ComponentShowcase name = " badge-style-default" />
Original file line number Diff line number Diff line change 11import React from "react" ;
22
3- export default function AvatarStyleRounded ( ) {
3+ export default function AvatarStyleCircle ( ) {
44 return (
55 < div className = "inline-block w-14 h-14 border-2 border-black rounded-full overflow-hidden" >
66 < img
You can’t perform that action at this time.
0 commit comments