mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 18:44:16 +00:00
support props for custom icons
This commit is contained in:
parent
86abec01c7
commit
943fad8ad5
@ -20,14 +20,17 @@ const marginedStyle = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const customs = {
|
const customs = {
|
||||||
verifiedBadge: () => <VerifiedBadge
|
verifiedBadge: (props) => <VerifiedBadge
|
||||||
style={marginedStyle}
|
style={marginedStyle}
|
||||||
|
{...props}
|
||||||
/>,
|
/>,
|
||||||
VrChat: () => <VrChatIcon
|
VrChat: (props) => <VrChatIcon
|
||||||
style={marginedStyle}
|
style={marginedStyle}
|
||||||
|
{...props}
|
||||||
/>,
|
/>,
|
||||||
Crown: () => <Crown
|
Crown: (props) => <Crown
|
||||||
style={marginedStyle}
|
style={marginedStyle}
|
||||||
|
{...props}
|
||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user