Skip to content

Commit 141da11

Browse files
duom青源duom青源
authored andcommitted
feat: index update
1 parent 7d72227 commit 141da11

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

example/src/App.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@ import {
88
Image,
99
View,
1010
} from 'react-native';
11-
import VariableTextInputView, {
11+
import {
1212
IATTextViewBase,
1313
IInserTextAttachmentItem,
1414
ITextType,
15+
VariableTextInputView,
1516
} from 'react-native-variable-text-input';
1617
export const App = () => {
1718
const inPutRef = React.createRef<IATTextViewBase>();

src/index.tsx renamed to src/VariableTextInputView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,4 +227,4 @@ const VariableTextInputView = forwardRef(
227227
const RNTVariableTextInputView = requireNativeComponent<IProps>(
228228
'VariableTextInputView'
229229
);
230-
export default VariableTextInputView;
230+
export { VariableTextInputView };

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from './VariableTextInputView';

0 commit comments

Comments
 (0)