NativeBase icon indicating copy to clipboard operation
NativeBase copied to clipboard

ActionSheet Style

Open anjapadu opened this issue 9 years ago • 9 comments

Hello, I was wondering if there is an option to customize the style of the actionsheet? I was searching into the code and found that you can't customize it in the theme or by props.

Someone figured a way to do this witouth modify the sourcecode on nativebase actionsheet? Will apreciate it alot. Thanks

anjapadu avatar Sep 15 '17 01:09 anjapadu

hello any news on this feature ? open for PR ?

nihaux avatar Mar 29 '19 22:03 nihaux

I also need dark background color for actionsheet at least on android, and light text color for action items. Please someone share if there is any other solution for it also. I am using it in an expo app.

summerkiflain avatar Aug 25 '19 18:08 summerkiflain

Still impossible to change the color of actionSheetContainer

peleccom avatar Oct 23 '19 20:10 peleccom

Me too, I need to change the text color for the NativeBase ActionSheet.

yunau avatar Apr 06 '20 08:04 yunau

howcome this did not get merged in?

kimkong88 avatar Jul 23 '20 18:07 kimkong88

Actionsheet not working with Dark theme on Android:

image

serge-fabiano avatar Jul 29 '20 21:07 serge-fabiano

For anyone who needs a solution until this gets merged and/or upgrades:

https://github.com/beefe/react-native-actionsheet

Aryk avatar Nov 05 '20 21:11 Aryk

They have fixed it, but forgot to update typings for Typescript and does not mention it in their docs. https://github.com/GeekyAnts/NativeBase/commit/75a604f78e95d50c076f02a62ea58023ca088391

You can pass a style object into the configuration.

ActionSheet.show({ style: { backgroundColor: 'red', }, options: [] };

Still no way of configure it via a theme, but better than adding another package to your app.

chaaya avatar Apr 16 '21 13:04 chaaya

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Feb 03 '22 02:02 stale[bot]