mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 03:29:51 +02:00
max cons and provs
This commit is contained in:
1 parent
1f0392681a
commit
eb0c35d6c6
3 files changed
+34
No files matched your search
@@ -16,6 +16,11 @@
|
||||
|
||||
cursor: pointer;
|
||||
|
||||
&[data-disabled="true"] {
|
||||
cursor: default;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
&[data-size="minor"] {
|
||||
font-size: 0.7em;
|
||||
padding: var(--space-2) var(--space-3);
|
||||
|
||||
@@ -39,6 +39,7 @@ export function Button({
|
||||
|
||||
listChild,
|
||||
parentListChild,
|
||||
disabled,
|
||||
...props
|
||||
}: ButtonProps) {
|
||||
return (
|
||||
@@ -51,6 +52,8 @@ export function Button({
|
||||
data-size={size}
|
||||
data-list-child={listChild}
|
||||
data-parent-list-child={parentListChild}
|
||||
data-disabled={disabled}
|
||||
disabled={disabled}
|
||||
{...props}
|
||||
/>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user