expo / react-native-action-sheet

A cross-platform ActionSheet for React Native
MIT License
1.37k stars 224 forks source link

feat: iOS use custom action sheet #281

Closed bradbyte closed 1 year ago

bradbyte commented 1 year ago

This exposes a prop on the provider to allow using the custom action sheet on iOS.

You can test this by installing the release candidate at

npm i @expo/react-native-action-sheet@next

The action sheet can be manipulated by setting useCustomActionSheet=true on the ActionSheetProvider.

// example of using useCustomActionSheet on iOS
export default function AppContainer() {
  return (
    <ActionSheetProvider useCustomActionSheet={true}>
      <App />
    </ActionSheetProvider>
  );
}
github-actions[bot] commented 1 year ago

:tada: This PR is included in version 4.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: