Skip to content

Commit 68f0699

Browse files
make text optional
1 parent c8ee22f commit 68f0699

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/the-new-architecture/pillars-fabric-components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ import type { HostComponent } from 'react-native';
9696
import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
9797

9898
export interface NativeProps extends ViewProps {
99-
text: string | null | undefined;
99+
text?: string;
100100
// add other props here
101101
}
102102

0 commit comments

Comments
 (0)