-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Button style not apply in theme version 2 #3633
Comments
Could you please explain what exactly doesn't work? I've created a snack based on your code snippet and I'm not able to observe any issue. |
I'm having the same issue with uppercase={false}, when using md2 in latest react native version. The button label is uppercase |
Thanks for the report, we are going to fix that regression. |
This bug only, this button inside card action This is work
this not work
|
@alexanderfsm I see the problem right now, will investigate that 🧐 |
Current behaviour
<Button style={{ borderRadius: 50 }} buttonColor={colors.buttonAction} contentStyle={{ padding: 5, flexDirection: 'row-reverse' }} icon="open-in-new" mode="contained"
onPress={() => openLink("")} uppercase={false}>
text button
import { Provider as PaperProvider, MD2LightTheme, MD2DarkTheme } from 'react-native-paper';
const ThemeDark = {
...MD2DarkTheme,
roundness: 2,
version: 2,
colors: {
...MD2DarkTheme.colors,
primary: '#000000',
Expected behaviour
apply style in button
Your Environment
The text was updated successfully, but these errors were encountered: