Skip to content

Commit 24ce242

Browse files
committed
fix typecheck
1 parent 12310e3 commit 24ce242

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/index.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export function multiply(a: number, b: number): number {
4646
* - play(): Starts playing the animation
4747
* - pause(): Pauses the animation
4848
*/
49-
export const NitroRiveView = getHostComponent<RiveViewProps, RiveViewMethods>(
49+
export const RiveView = getHostComponent<RiveViewProps, RiveViewMethods>(
5050
'RiveView',
5151
() => RiveViewConfig
5252
) as ReactNativeView<RiveViewProps, RiveViewTSMethods>;
@@ -78,8 +78,3 @@ export { useRiveColor } from './hooks/useRiveColor';
7878
export { useRiveTrigger } from './hooks/useRiveTrigger';
7979
export { useRiveFile } from './hooks/useRiveFile';
8080
export { type RiveFileInput } from './hooks/useRiveFile';
81-
export { RiveConfigurator } from './core/RiveConfigurator';
82-
export { type RiveConfiguratorConfig } from './core/RiveConfigurator';
83-
export { type ArtboardSpec } from './specs/ArtboardSpec';
84-
export { type StateMachineSpec } from './specs/StateMachineSpec';
85-
export { RiveView } from './core/RiveView';

0 commit comments

Comments
 (0)