Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Spinner] SIZE_SMALL = 20 #3342

Merged
merged 2 commits into from
Feb 6, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 8 additions & 3 deletions packages/core/src/components/spinner/spinner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,13 @@ const MIN_STROKE_WIDTH = 16;
export interface ISpinnerProps extends IProps, IIntentProps {
/**
* Width and height of the spinner in pixels. The size cannot be less than
* 10px. Constants are available for common sizes: `Spinner.SIZE_SMALL`,
* `Spinner.SIZE_STANDARD`, `Spinner.SIZE_LARGE`.
* 10px.
*
* Constants are available for common sizes:
* - `Spinner.SIZE_SMALL = 20px`
* - `Spinner.SIZE_STANDARD = 50px`
* - `Spinner.SIZE_LARGE = 100px`
*
* @default Spinner.SIZE_STANDARD = 50
*/
size?: number;
Expand All @@ -53,7 +58,7 @@ export interface ISpinnerProps extends IProps, IIntentProps {
export class Spinner extends AbstractPureComponent<ISpinnerProps, {}> {
public static displayName = `${DISPLAYNAME_PREFIX}.Spinner`;

public static readonly SIZE_SMALL = 24;
public static readonly SIZE_SMALL = 20;
public static readonly SIZE_STANDARD = 50;
public static readonly SIZE_LARGE = 100;

Expand Down