Skip to content

Commit

Permalink
Add note to typescript developers
Browse files Browse the repository at this point in the history
  • Loading branch information
gpbl committed Nov 24, 2017
1 parent ff7abe2 commit df00689
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docs/src/pages/api/DayPicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,23 @@ import CodeBlock from '../../ui/CodeBlock';
export default () => (
<DocPage title="DayPicker API">
<CodeBlock>{`import DayPicker from 'react-day-picker'`}</CodeBlock>

<blockquote>
<h3>Note to Typescript developers</h3>
<p>
Until v7.0 is not released use{' '}
<code>{`import { DayPicker } from 'react-day-picker`}`</code> to import
DayPicker.<br />
<small>
See{' '}
<a href="https://github.com/gpbl/react-day-picker/issues/533">#533</a>{' '}
and{' '}
<a href="https://github.com/gpbl/react-day-picker/issues/539">#539</a>{' '}
for more details.
</small>
</p>
</blockquote>

<h2>API summary</h2>

<h4>Rendering months</h4>
Expand Down

0 comments on commit df00689

Please sign in to comment.