diff --git a/change/@fluentui-react-native-9e7fcb38-d267-4761-af0a-f5abea037199.json b/change/@fluentui-react-native-9e7fcb38-d267-4761-af0a-f5abea037199.json new file mode 100644 index 0000000000..11043a1370 --- /dev/null +++ b/change/@fluentui-react-native-9e7fcb38-d267-4761-af0a-f5abea037199.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "Export stuff that Button should export", + "packageName": "@fluentui/react-native", + "email": "email not defined", + "dependentChangeType": "patch" +} diff --git a/change/@fluentui-react-native-button-5518c923-49c4-4183-885d-57da9b947083.json b/change/@fluentui-react-native-button-5518c923-49c4-4183-885d-57da9b947083.json new file mode 100644 index 0000000000..19457e7b99 --- /dev/null +++ b/change/@fluentui-react-native-button-5518c923-49c4-4183-885d-57da9b947083.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "Export stuff that Button should export", + "packageName": "@fluentui-react-native/button", + "email": "email not defined", + "dependentChangeType": "patch" +} diff --git a/packages/components/Button/src/index.ts b/packages/components/Button/src/index.ts index db92dbe264..3353066c2d 100644 --- a/packages/components/Button/src/index.ts +++ b/packages/components/Button/src/index.ts @@ -24,7 +24,7 @@ export type { ButtonType, } from './Button.types'; export { buttonName as buttonNameV1 } from './Button.types'; -export { Button as ButtonV1 } from './Button'; +export { Button as ButtonV1, buttonLookup, getFocusBorderStyle } from './Button'; export { useButton } from './useButton'; export { CompoundButton, compoundButtonName } from './CompoundButton'; export type { CompoundButtonProps, CompoundButtonSlotProps, CompoundButtonTokens, CompoundButtonType } from './CompoundButton'; diff --git a/packages/libraries/core/src/index.ts b/packages/libraries/core/src/index.ts index 4457e92f9c..94f91401db 100644 --- a/packages/libraries/core/src/index.ts +++ b/packages/libraries/core/src/index.ts @@ -13,6 +13,8 @@ export { toggleButtonName, useButton, useToggleButton, + buttonLookup, + getFocusBorderStyle, } from '@fluentui-react-native/button'; export type { ButtonAppearance,