Skip to content

Commit

Permalink
[ToggleButton] Fix TypeScript definition (#12360)
Browse files Browse the repository at this point in the history
  • Loading branch information
itskibo authored and oliviertassinari committed Aug 1, 2018
1 parent fde400f commit 8013fdd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions packages/material-ui-lab/src/ToggleButton/ToggleButton.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import * as React from 'react';
import { StandardProps, PropTypes } from '..';
import { ButtonBaseProps, ButtonBaseClassKey } from '../ButtonBase';

import { PropTypes, StandardProps } from '@material-ui/core';
import { ButtonBaseClassKey, ButtonBaseProps } from '@material-ui/core/ButtonBase';

export interface ToggleButtonProps
extends StandardProps<ButtonBaseProps, ToggleButtonClassKey, 'component'> {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import * as React from 'react';
import { StandardProps } from '..';

import { StandardProps } from '@material-ui/core';

export interface ToggleButtonGroupProps
extends StandardProps<React.HTMLAttributes<HTMLDivElement>, ToggleButtonGroupClassKey> {
Expand Down

0 comments on commit 8013fdd

Please sign in to comment.