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 = {
39
39
</details>
40
40
</div>` ,
41
41
} ,
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 " ) ) ,
45
45
codeHtml : `<div className="inline-block w-14 h-14 border-2 border-black rounded-full overflow-hidden">
46
46
<img
47
47
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 1
1
import React from "react" ;
2
2
3
- export default function AvatarStyleRounded ( ) {
3
+ export default function AvatarStyleCircle ( ) {
4
4
return (
5
5
< div className = "inline-block w-14 h-14 border-2 border-black rounded-full overflow-hidden" >
6
6
< img
You can’t perform that action at this time.
0 commit comments