Skip to content

Commit

Permalink
fix: remove RNCSliderState, reuse generated one
Browse files Browse the repository at this point in the history
  • Loading branch information
okwasniewski committed Mar 29, 2024
1 parent b801550 commit ba3c5e5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 41 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#include <jsi/jsi.h>
#include <react/renderer/components/rncore/EventEmitters.h>
#include <react/renderer/components/RNCSlider/RNCSliderState.h>
#include <react/renderer/components/RNCSlider/States.h>
#include <react/renderer/components/RNCSlider/Props.h>
#include <react/renderer/components/RNCSlider/EventEmitters.h>
#include <react/renderer/components/view/ConcreteViewShadowNode.h>
Expand Down

This file was deleted.

This file was deleted.

6 changes: 3 additions & 3 deletions package/src/RNCSliderNativeComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ export interface NativeProps extends ViewProps {
upperLimit?: Float;
}

export default codegenNativeComponent<NativeProps>('RNCSlider', {
interfaceOnly: true,
}) as HostComponent<NativeProps>;
export default codegenNativeComponent<NativeProps>(
'RNCSlider',
) as HostComponent<NativeProps>;

0 comments on commit ba3c5e5

Please sign in to comment.