Skip to content

Commit

Permalink
make text optional
Browse files Browse the repository at this point in the history
  • Loading branch information
intergalacticspacehighway committed Aug 17, 2022
1 parent c8ee22f commit 68f0699
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/the-new-architecture/pillars-fabric-components.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ import type { HostComponent } from 'react-native';
import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';

export interface NativeProps extends ViewProps {
text: string | null | undefined;
text?: string;
// add other props here
}

Expand Down

0 comments on commit 68f0699

Please sign in to comment.