Skip to content

Commit

Permalink
[core] Batch small changes (#2034)
Browse files Browse the repository at this point in the history
* [docs] TypeScript over alternative wordings

* [docs] Remove dead images
  • Loading branch information
oliviertassinari authored Jul 26, 2020
1 parent 8728ef3 commit b3f94f4
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ jobs:
- attach_workspace:
at: .
- run:
name: Typescript
name: TypeScript
command: yarn workspaces run build:typescript
- run:
name: Run typescript tests
name: Run TypeScript tests
command: yarn workspace @material-ui/pickers run test:typescript
- run:
name: Build and analyze bundlesize
Expand Down
6 changes: 0 additions & 6 deletions docs/assets/mui-logo.svg

This file was deleted.

Binary file removed docs/assets/pickers-logo.png
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/pages/guides/css-overrides.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Pickers will also leverage `spacing` from the material-ui's theme

<Example source={CssThemeSpacing} />

#### Typescript
#### TypeScript

For TypeScript users it's also required to extend default material-ui theme typings with pickers controls.
This will also autocomplete classnames.
Expand Down
4 changes: 2 additions & 2 deletions docs/pages/guides/upgrading-to-v3.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ And it is still possible to fully customize mask, checkout [this](/api/timepicke
`ref` approach to customize open/close state was replaced with `open` props and `onClose`, `onOpen` callbacks.
Check out the [new example](/guides/controlling-programmatically)

#### 🛡 Typescript
#### 🛡 TypeScript

We are working hard to make this library perfectly Typescript compatible.
We are working hard to make this library perfectly TypeScript compatible.
And from `v3` and on, date type in such props like `onChange`, `value` will automatically be inferred from the `@date-io` package you used.
So less `any` from our side :)

Expand Down

1 comment on commit b3f94f4

@vercel
Copy link

@vercel vercel bot commented on b3f94f4 Jul 26, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.