mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-23 14:40:50 +01:00
Fix missing interface
This commit is contained in:
parent
300ed763eb
commit
06ae1da25a
@ -3,8 +3,7 @@ import { FC, useCallback, useRef } from 'react';
|
|||||||
import { GetRoomEngine } from '../../../../api';
|
import { GetRoomEngine } from '../../../../api';
|
||||||
import { CatalogPurchasedEvent } from '../../../../events';
|
import { CatalogPurchasedEvent } from '../../../../events';
|
||||||
import { useUiEvent } from '../../../../hooks';
|
import { useUiEvent } from '../../../../hooks';
|
||||||
import { RoomPreviewerView } from '../../../../views/shared/room-previewer/RoomPreviewerView';
|
import { RoomPreviewerView, RoomPreviewerViewProps } from '../../../../views/shared/room-previewer/RoomPreviewerView';
|
||||||
import { RoomPreviewerViewProps } from '../../../../views/shared/room-previewer/RoomPreviewerView.types';
|
|
||||||
|
|
||||||
export const CatalogRoomPreviewerView: FC<RoomPreviewerViewProps> = props =>
|
export const CatalogRoomPreviewerView: FC<RoomPreviewerViewProps> = props =>
|
||||||
{
|
{
|
||||||
|
@ -2,7 +2,7 @@ import { ColorConverter, IRoomRenderingCanvas, RoomPreviewer, TextureUtils } fro
|
|||||||
import { FC, useCallback, useEffect, useRef, useState } from 'react';
|
import { FC, useCallback, useEffect, useRef, useState } from 'react';
|
||||||
import { GetNitroInstance } from '../../../api';
|
import { GetNitroInstance } from '../../../api';
|
||||||
|
|
||||||
interface RoomPreviewerViewProps
|
export interface RoomPreviewerViewProps
|
||||||
{
|
{
|
||||||
roomPreviewer: RoomPreviewer;
|
roomPreviewer: RoomPreviewer;
|
||||||
height?: number;
|
height?: number;
|
||||||
|
Loading…
Reference in New Issue
Block a user