<commit_before>import React from 'react';
import Link from 'gatsby-link';

import DocPage from '../../containers/DocPage';
import ApiDocs from '../../containers/ApiDocs';

import Anchor from '../../ui/Anchor';
import CodeBlock from '../../ui/CodeBlock';

export default () => (
  <DocPage title="DayPicker API">
    <CodeBlock>{`import DayPicker from 'react-day-picker'`}</CodeBlock>
    <h2>API summary</h2>

    <h4>Rendering months</h4>
    <p>
      <a href="#initialMonth">initialMonth</a>, <a href="#month">month</a>,{' '}
      <a href="#fromMonth">fromMonth</a>, <a href="#toMonth">toMonth</a>,{' '}
      <a href="#numberOfMonths">numberOfMonths</a>,{' '}<commit_msg>Add note to typescript developers<commit_after>import React from 'react';
import Link from 'gatsby-link';

import DocPage from '../../containers/DocPage';
import ApiDocs from '../../containers/ApiDocs';

import Anchor from '../../ui/Anchor';
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>
    <p>
      <a href="#initialMonth">initialMonth</a>, <a href="#month">month</a>,{' '}
      <a href="#fromMonth">fromMonth</a>, <a href="#toMonth">toMonth</a>,{' '}
      <a href="#numberOfMonths">numberOfMonths</a>,{' '}
{'fraction_non_alphanumeric': 0.20738786279683377, 'fraction_numerical': 0.012664907651715039, 'mean_word_length': 3.1397379912663754, 'pattern_counts': {'":': 0, '<': 54, '<?xml version=': 0, '>': 56, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6251259', 'n_tokens_mistral': 637, 'n_tokens_neox': 636, 'n_words': 132}