Move to using @rive-app/canvas as the backing renderer and update scripts accordingly.

This commit is contained in:
Zach Plata
2022-04-18 12:46:27 -07:00
committed by Zachary Plata
parent 1da73aac05
commit 563dca3608
11 changed files with 24 additions and 19 deletions

View File

@@ -6,7 +6,7 @@ import React, {
ComponentProps,
RefCallback,
} from 'react';
import { Rive, EventType } from '@rive-app/webgl';
import { Rive, EventType } from '@rive-app/canvas';
import {
UseRiveParameters,
UseRiveOptions,

View File

@@ -1,5 +1,5 @@
import { useState, useEffect } from 'react';
import { Rive, StateMachineInput } from '@rive-app/webgl';
import { Rive, StateMachineInput } from '@rive-app/canvas';
/**
* Custom hook for fetching a stateMachine input from a rive file.