mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-10 09:56:24 +00:00
improve buttons
This commit is contained in:
parent
60219b3b0b
commit
334678d0de
1 changed files with 3 additions and 1 deletions
|
@ -65,10 +65,11 @@ export function SettingArrayComponent({
|
||||||
const removeButton = (index: number) => {
|
const removeButton = (index: number) => {
|
||||||
return (
|
return (
|
||||||
<Button
|
<Button
|
||||||
|
id={cl("remove-button")}
|
||||||
size={Button.Sizes.MIN}
|
size={Button.Sizes.MIN}
|
||||||
onClick={() => removeItem(index)}
|
onClick={() => removeItem(index)}
|
||||||
style={
|
style={
|
||||||
{ background: "none", }
|
{ background: "none", color: "red" }
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
<CloseIcon />
|
<CloseIcon />
|
||||||
|
@ -313,6 +314,7 @@ export function SettingArrayComponent({
|
||||||
/>
|
/>
|
||||||
<Button
|
<Button
|
||||||
size={Button.Sizes.MIN}
|
size={Button.Sizes.MIN}
|
||||||
|
id={cl("add-button")}
|
||||||
onClick={handleSubmit}
|
onClick={handleSubmit}
|
||||||
style={{ background: "none" }}
|
style={{ background: "none" }}
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in a new issue