-
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
use HTMLAttributes instead of HTMLProps #2269
Changes from 3 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,7 +48,7 @@ export interface IInputGroupState { | |
rightElementWidth?: number; | ||
} | ||
|
||
export class InputGroup extends React.PureComponent<HTMLInputProps & IInputGroupProps, IInputGroupState> { | ||
export class InputGroup extends React.PureComponent<IInputGroupProps & HTMLInputProps, IInputGroupState> { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. extend interface instead of |
||
public static displayName = "Blueprint2.InputGroup"; | ||
|
||
public state: IInputGroupState = { | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,8 +10,7 @@ import * as Classes from "../../common/classes"; | |
import { IProps } from "../../common/props"; | ||
|
||
// allow the empty interface so we can label it clearly in the docs | ||
// tslint:disable-next-line:no-empty-interface | ||
export interface INavbarDividerProps extends React.HTMLProps<HTMLDivElement>, IProps { | ||
export interface INavbarDividerProps extends IProps, React.HTMLAttributes<HTMLDivElement> { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. pro tip: |
||
// Empty | ||
} | ||
|
||
|
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.
🤯
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.
emoji didn't come though, it's just a square. what's the sentiment here?
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.
(High Sierra update is worth the new emojis. Maybe.)
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.
oh yes very nice