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

[docs] Fixed docs according to PR #19789 #19821

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions docs/src/pages/guides/typescript/typescript-de.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,7 @@ Und eine benutzerdefinierte Theme Generierung mit zusätzlichen Standardoptionen
**./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
3 changes: 1 addition & 2 deletions docs/src/pages/guides/typescript/typescript-es.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,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
3 changes: 1 addition & 2 deletions docs/src/pages/guides/typescript/typescript-fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,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
3 changes: 1 addition & 2 deletions docs/src/pages/guides/typescript/typescript-ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,7 @@ declare module '@material-ui/core/styles/createMuiTheme' {
**./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
3 changes: 1 addition & 2 deletions docs/src/pages/guides/typescript/typescript-pt.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,7 @@ E uma fábrica customizada de temas com opções padrão adicionais:
**./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
3 changes: 1 addition & 2 deletions docs/src/pages/guides/typescript/typescript-ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,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
3 changes: 1 addition & 2 deletions docs/src/pages/guides/typescript/typescript-zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,7 @@ declare module '@material-ui/core/styles/createMuiTheme' {
**./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