react-native-step-indicator icon indicating copy to clipboard operation
react-native-step-indicator copied to clipboard

Import syntax for typescript.

Open chitswe opened this issue 6 years ago • 1 comments

What is the correct way to import StepIndicator? import StepIndicator from "react-native-step-indicator"; and import * as StepIndicator from "react-native-step-indicator"; not work. It says Property render is missing. Changing this line to import * as React from "react" work.

chitswe avatar Jul 08 '18 05:07 chitswe

this my code import StepIndicator, {StepIndicatorStyles} from 'react-native-step-indicator'

rj9676564 avatar Jul 18 '18 01:07 rj9676564