mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-22 03:07:04 +02:00
feat: special skills
This commit is contained in:
1 parent
099e5eb228
commit
7b0465322d
3 files changed
+28
-19
No files matched your search
@@ -11,6 +11,7 @@ export interface TankComponentButtonProps
|
||||
discriminator?: ReactNode;
|
||||
disabled?: boolean;
|
||||
banner?: string;
|
||||
special?: boolean;
|
||||
}
|
||||
|
||||
export function TankComponentButton({
|
||||
@@ -19,6 +20,7 @@ export function TankComponentButton({
|
||||
last = false,
|
||||
rowChild,
|
||||
discriminator,
|
||||
special,
|
||||
children,
|
||||
banner,
|
||||
...props
|
||||
@@ -26,7 +28,7 @@ export function TankComponentButton({
|
||||
return (
|
||||
<Button
|
||||
radius="medium"
|
||||
color={selected ? undefined : 'gray'}
|
||||
color={selected ? (special ? 'amber' : undefined) : 'gray'}
|
||||
variant={selected ? 'surface' : 'soft'}
|
||||
style={{
|
||||
padding: 0,
|
||||
|
||||
Reference in new issue
Block a user