# @consta/react-big-calendar-adapter

> reactBigCalendarAdapter | [Дизайн-система Consta](https://consta.design/)

Latest version **0.2.3** (published 2023-05-23) · 0 weekly downloads

## Install

```sh
npm install @consta/react-big-calendar-adapter
pnpm add @consta/react-big-calendar-adapter
yarn add @consta/react-big-calendar-adapter
bun add @consta/react-big-calendar-adapter
```

## Health

**Score 10/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.3 |
| Published | 2023-05-23 |
| First published | 2022-07-08 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 56.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | n1mber, miocene, fooontic, gizeasy, design-gazprom-neft |

## Links

- npm: https://www.npmjs.com/package/@consta/react-big-calendar-adapter
- npm.io page: https://npm.io/package/@consta/react-big-calendar-adapter

## Dependencies (2)

- [react-big-calendar](https://npm.io/package/react-big-calendar.md) ^0.40.4
- [@types/react-big-calendar](https://npm.io/package/@types/react-big-calendar.md) ^0.38.1

## Recent versions

- 0.2.3 (latest) — 2023-05-23
- 0.2.2 — 2022-11-30
- 0.2.1 — 2022-11-24
- 0.2.0 — 2022-09-29
- 0.1.1 — 2022-08-10
- 0.1.0 — 2022-07-08

## README

reactBigCalendarAdapter | [Дизайн-система Consta](https://consta.design/)

Этот адаптер стилизует таблицу [react-big-calendar](http://jquense.github.io/react-big-calendar/examples/index.html?path=/story/about-big-calendar--page) для [дизайн-системы Consta](https://consta.design/).

# Как использовать

## Установите пакет

```sh
# NPM
$ npm install @consta/react-big-calendar-adapter
# Yarn
$ yarn add @consta/react-big-calendar-adapter
```

## Подключите зависимости

Чтобы начать работу, установите библиотеку [`@consta/uikit`](https://www.npmjs.com/package/@consta/uikit) и [настройте тему](https://consta.design/libs/portal/theme-themeabout).

### Можно использовать компоненты

Например, так:

```js
import React from 'react';
import { reactBigCalendarAdapter } from '@consta/react-big-calendar/reactBigCalendarAdapter';
import moment from 'moment';
import { momentLocalizer, Calendar } from 'react-big-calendar';
moment.locale('ru');
const localizer = momentLocalizer(moment);
export const ReactBigCalendarAdapter = () => {
  const { prefix, ...otherProps } = reactBigCalendarAdapter({});
  return (
    <Calendar
      defaultDate={new Date(2022, 3, 1)}
      events={events}
      localizer={localizer}
      showMultiDayTimes
      className={prefix}
      defaultView="month"
      {...otherProps}
    />
  );
};
```

## Документация

[Посмотреть документацию и примеры](http://consta.design/libs/react-big-calendar-adapter)

## Разработка

### Подготовка окружения

Рабочее окружение должно содержать NodeJS и Yarn.

Чтобы установить зависимости, выполните команду:

```sh
$ yarn install
```

### Основные команды

```sh
# Запуск локального сервера для разработки
$ yarn start

# Сборка пакета
$ yarn build

# Сборка стенда
$ yarn stand:build

# Запуск тестов
$ yarn test
```

## Контрибьюторам

Будем рады, если вы захотите принять участие в разработке дизайн-системы =) Но сначала прочитайте [инструкцию для контрибьюторов](https://consta.design/libs/portal/contributers-code).

## Лицензия

Дизайн-систему можно использовать бесплатно, она распространяется на условиях открытой [лицензии MIT](https://consta.design/static/licence_mit.pdf).

---
_Source: https://npm.io/package/@consta/react-big-calendar-adapter · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
