2017-04-01 6 views
-2

私はあなたの助けが必要です。反応Js予定カレンダー

React jsイベントカレンダーは既にありますが、無料で使用できます。商業的にも使用できます。

私は自分の言語でカレンダーの平日と月の名前を変更できるはずです。

あなたが見たいカレンダーの種類を作ることができます。イベントリスト

答えて

1

Here is a resourceにバインドするのは簡単でなければなりません。

例を挙げると、here is a date picker that includes an internationalization optionです。あなたはコードの任意の特定の問題を持っている場合は

import React from 'react'; 
import { render } from 'react-dom'; 
import InfiniteCalendar from 'react-infinite-calendar'; 
import 'react-infinite-calendar/styles.css'; // only needs to be imported once 

// Render the Calendar 
var today = new Date(); 
var lastWeek = new Date(today.getFullYear(), today.getMonth(), today.getDate() - 7); 

render(
    <InfiniteCalendar 
    width={400} 
    height={600} 
    selected={today} 
    disabledDays={[0,6]} 
    minDate={lastWeek} 
    />, 
    document.getElementById('root') 
); 

が、我々は確かに助けることができるでしょう:それはページにそれをレンダリングした後、コンフィギュレーションを、コンポーネントのインポート設定の問題です。

関連する問題