Point color, radius, stroke, focus, and type tokens at the Figma scale so later sections use the same values.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
63d5d21ae0
commit
e808fe70bf
162 files changed
+1385
-1377
No files matched your search
@@ -17,8 +17,11 @@ const IncrementerBlockContainer = ({
|
||||
labelSize = "s",
|
||||
palette = "default",
|
||||
blockClassName = "",
|
||||
state = "default",
|
||||
disabled,
|
||||
...incrementerProps
|
||||
}: IncrementerBlockProps) => {
|
||||
const isDisabled = state === "disabled" || Boolean(disabled);
|
||||
return (
|
||||
<IncrementerBlockView
|
||||
label={label}
|
||||
@@ -28,6 +31,8 @@ const IncrementerBlockContainer = ({
|
||||
labelSize={labelSize}
|
||||
palette={palette}
|
||||
blockClassName={blockClassName}
|
||||
state={state}
|
||||
disabled={isDisabled}
|
||||
{...incrementerProps}
|
||||
/>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user