-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
[Button] fix loading spinner size #2666
Conversation
@@ -146,7 +146,7 @@ npm install --save @types/moment-timezone | |||
Blueprint's declaration files require **TypeScript 2.3+** for default generic parameter arguments: `<P = {}>`. | |||
|
|||
<div class="@ns-callout @ns-intent-primary @ns-icon-info-sign"> | |||
For more information, see [Understanding TypeScript](#blueprint/getting-started.understanding-typescript) below. | |||
For more information, see [Understanding TypeScript](#blueprint/reading-the-docs.understanding-typescript). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not related
@@ -77,6 +79,15 @@ export class Spinner extends React.PureComponent<ISpinnerProps, {}> { | |||
); | |||
} | |||
|
|||
protected validateProps({ className = "" }: ISpinnerProps) { | |||
if (className.indexOf(Classes.SMALL) >= 0) { | |||
console.warn(SPINNER_WARN_CLASSES_SMALL); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't we just add support for the classes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
moved to #2667
fix linkPreview: documentation | landing | table |
lintPreview: documentation | landing | table |
revert Spinner changePreview: documentation | landing | table |
Fixes #2663
Spinner
for using sizeClasses