mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-12-04 18:56:28 +01:00
Update campaign
This commit is contained in:
parent
2f43ffc36a
commit
7c8d5928dd
3
src/api/campaign/index.ts
Normal file
3
src/api/campaign/index.ts
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
export * from './CalendarItem';
|
||||||
|
export * from './CalendarItemState';
|
||||||
|
export * from './ICalendarItem';
|
@ -1,8 +1,7 @@
|
|||||||
import { FC } from 'react';
|
import { FC } from 'react';
|
||||||
import { GetConfiguration, GetRoomEngine, GetSessionDataManager } from '../../api';
|
import { CalendarItemState, GetConfiguration, GetRoomEngine, GetSessionDataManager } from '../../api';
|
||||||
|
import { ICalendarItem } from '../../api/campaign/ICalendarItem';
|
||||||
import { Base, Column, Flex, LayoutImage } from '../../common';
|
import { Base, Column, Flex, LayoutImage } from '../../common';
|
||||||
import { CalendarItemState } from './common/CalendarItemState';
|
|
||||||
import { ICalendarItem } from './common/ICalendarItem';
|
|
||||||
|
|
||||||
interface CalendarItemViewProps
|
interface CalendarItemViewProps
|
||||||
{
|
{
|
||||||
|
@ -1,9 +1,7 @@
|
|||||||
import { FC, useState } from 'react';
|
import { FC, useState } from 'react';
|
||||||
import { GetSessionDataManager, LocalizeText } from '../../api';
|
import { CalendarItemState, GetSessionDataManager, ICalendarItem, LocalizeText } from '../../api';
|
||||||
import { Base, Button, Column, Flex, Grid, NitroCardContentView, NitroCardHeaderView, NitroCardView, Text } from '../../common';
|
import { Base, Button, Column, Flex, Grid, NitroCardContentView, NitroCardHeaderView, NitroCardView, Text } from '../../common';
|
||||||
import { CalendarItemView } from './CalendarItemView';
|
import { CalendarItemView } from './CalendarItemView';
|
||||||
import { CalendarItemState } from './common/CalendarItemState';
|
|
||||||
import { ICalendarItem } from './common/ICalendarItem';
|
|
||||||
|
|
||||||
interface CalendarViewProps
|
interface CalendarViewProps
|
||||||
{
|
{
|
||||||
|
@ -1,9 +1,8 @@
|
|||||||
import { CampaignCalendarData, CampaignCalendarDataMessageEvent, CampaignCalendarDoorOpenedMessageEvent, OpenCampaignCalendarDoorAsStaffComposer, OpenCampaignCalendarDoorComposer } from '@nitrots/nitro-renderer';
|
import { CampaignCalendarData, CampaignCalendarDataMessageEvent, CampaignCalendarDoorOpenedMessageEvent, OpenCampaignCalendarDoorAsStaffComposer, OpenCampaignCalendarDoorComposer } from '@nitrots/nitro-renderer';
|
||||||
import { FC, useCallback, useEffect, useState } from 'react';
|
import { FC, useCallback, useEffect, useState } from 'react';
|
||||||
import { AddEventLinkTracker, RemoveLinkEventTracker, SendMessageComposer } from '../../api';
|
import { AddEventLinkTracker, CalendarItem, RemoveLinkEventTracker, SendMessageComposer } from '../../api';
|
||||||
import { BatchUpdates, UseMessageEventHook } from '../../hooks';
|
import { BatchUpdates, UseMessageEventHook } from '../../hooks';
|
||||||
import { CalendarView } from './CalendarView';
|
import { CalendarView } from './CalendarView';
|
||||||
import { CalendarItem } from './common/CalendarItem';
|
|
||||||
|
|
||||||
export const CampaignView: FC<{}> = props =>
|
export const CampaignView: FC<{}> = props =>
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user