1.0.21 • Published 6 months ago

@icraft/player-react v1.0.21

Weekly downloads
-
License
Commercial
Repository
github
Last release
6 months ago

Introduction

@icraft/player-react

@icraft/player-react is a React frontend component that allows you to easily integrate scenes edited in iCraft Editor into your project, and provides rich interaction events and methods.

Quick Start

Installation

Install the @icraft/player-react package using npm or pnpm:

# Using npm
npm install @icraft/player-react --save

# Or using pnpm
pnpm install @icraft/player-react --save

Note: Some package managers may not automatically install the @icraft/engine package. If it's missing, please install it manually:

pnpm install @icraft/engine --save

Basic Usage

Import and use the ICraftPlayer component in your project:

import { ICraftPlayer } from "@icraft/player-react";

export default function MyScene() {
  return <ICraftPlayer src='your-scene.iplayer' />;
}

Where src is the path to the .iplayer file exported from iCraft Editor.

1.0.21

6 months ago

1.0.20

6 months ago

1.0.19

7 months ago

1.0.18

7 months ago

1.0.17

7 months ago

1.0.16

7 months ago

1.0.15

8 months ago

1.0.14

8 months ago

1.0.13

9 months ago

1.0.12

9 months ago

1.0.11

9 months ago

1.0.10

11 months ago

1.0.9

11 months ago

1.0.8

12 months ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6-alpha.0

1 year ago

0.0.6

1 year ago

0.0.5-alpha.1

1 year ago

0.0.5

1 year ago

0.0.4-alpha.7

1 year ago

0.0.4-alpha.6

1 year ago

0.0.4-alpha.5

1 year ago

0.0.4-alpha.4

1 year ago

0.0.4-alpha.3

1 year ago

0.0.4-alpha.2

1 year ago

0.0.4-alpha.1

1 year ago