Skip to content

Commit

Permalink
changed path for ThemeOptions in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
dbarabashh committed Feb 20, 2020
1 parent c033c75 commit 4dece89
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/src/pages/guides/typescript/typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,7 @@ And a custom theme factory with additional defaulted options:

**./styles/createMyTheme**:
```ts
import { createMuiTheme } from '@material-ui/core/styles';
import { ThemeOptions } from '@material-ui/core/styles/createMuiTheme';
import { createMuiTheme, ThemeOptions } from '@material-ui/core/styles';

export default function createMyTheme(options: ThemeOptions) {
return createMuiTheme({
Expand Down

0 comments on commit 4dece89

Please sign in to comment.