Skip to content

Commit

Permalink
Add ButtonProps export
Browse files Browse the repository at this point in the history
Summary: Changelog: [Internal]

Differential Revision: D69984581
  • Loading branch information
j-piasecki authored and facebook-github-bot committed Feb 21, 2025
1 parent 303d379 commit 6a97efa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-native/Libraries/Components/Button.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import View from './View/View';
import invariant from 'invariant';
import * as React from 'react';

type ButtonProps = $ReadOnly<{
export type ButtonProps = $ReadOnly<{
/**
Text to display inside the button. On Android the given title will be
converted to the uppercased form.
Expand Down
1 change: 1 addition & 0 deletions scripts/build/build-types/buildTypes.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ const ENTRY_POINTS = [
'packages/react-native/Libraries/Components/AccessibilityInfo/AccessibilityInfo.js',
'packages/react-native/Libraries/Components/Clipboard/Clipboard.js',
'packages/react-native/Libraries/Components/ToastAndroid/ToastAndroid.js',
'packages/react-native/Libraries/Components/Button.js',
'packages/react-native/Libraries/EventEmitter/NativeEventEmitter.js',
'packages/react-native/Libraries/EventEmitter/RCTDeviceEventEmitter.js',
'packages/react-native/Libraries/EventEmitter/RCTNativeAppEventEmitter.js',
Expand Down

0 comments on commit 6a97efa

Please sign in to comment.