Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import { css } from "emotion";
import { CssUtils } from "../utils";
import { coerceBooleanProperty } from "@angular/cdk/coercion";

type Mode = "large" | "small" | "overlay";
type Space =
| "xxsmall"
| "xsmall"
Expand Down Expand Up @@ -46,7 +45,7 @@ export class DxcSpinnerComponent implements OnInit {
/**
* Available modes of the spinner ('large' | 'small' | 'overlay').
*/
@Input() mode: Mode = "large";
@Input() mode: "large" | "small" | "overlay" = "large";
/**
* Size of the margin to be applied to the component ('xxsmall' | 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge').
* You can pass an object with 'top', 'bottom', 'left' and 'right' properties in order to specify different margin sizes.
Expand Down