mirror of
https://github.com/Radiquum/AniX.git
synced 2025-04-30 01:49:40 +05:00
refactor: New Profile Card
feat: add Privacy Banner feat: add user roles
This commit is contained in:
parent
ea44bbf0e1
commit
d0990eb089
6 changed files with 543 additions and 239 deletions
|
@ -5,12 +5,14 @@ export const Chip = (props: {
|
|||
name_2?: string;
|
||||
devider?: string;
|
||||
bg_color?: string;
|
||||
style?: React.CSSProperties;
|
||||
}) => {
|
||||
return (
|
||||
<div
|
||||
className={`px-2 sm:px-4 py-0.5 sm:py-1 rounded-sm ${
|
||||
props.bg_color || "bg-gray-500"
|
||||
} ${props.icon_name ? "flex items-center justify-center gap-1" : ""}`}
|
||||
style={props.style || {}}
|
||||
>
|
||||
{props.icon_name && (
|
||||
<span
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue