mirror of
https://github.com/rio-labs/rio.git
synced 2026-05-07 20:09:40 -05:00
breaking: updated several parameters for consistency
This commit is contained in:
@@ -12,7 +12,6 @@ export type ButtonState = ComponentState & {
|
||||
color?: ColorSet;
|
||||
content?: ComponentId;
|
||||
is_sensitive?: boolean;
|
||||
initially_disabled_for?: number;
|
||||
};
|
||||
|
||||
export class ButtonComponent extends SingleContainer {
|
||||
@@ -53,7 +52,7 @@ export class ButtonComponent extends SingleContainer {
|
||||
|
||||
setTimeout(() => {
|
||||
this.isStillInitiallyDisabled = false;
|
||||
}, this.state.initially_disabled_for * 1000);
|
||||
}, 350);
|
||||
|
||||
return element;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user