Skip to content

Surface doesn't have roundnessΒ #4300

@jimbofoo

Description

@jimbofoo

Current behaviour

Using Surface doesn't show any roundness using MD3 (like the examples in the docs).

Expected behaviour

Surface has the default theme roundness or the override roundness

How to reproduce?

<Surface><Text>Test</Text><Surface>

What have you tried so far?

<Surface style={{ borderRadius: 12 }}>
     <Text variant="titleSmall">Test</Text>
</Surface>

Adding a custom style will show a rounded border.

Your Environment

software version
react-native-paper 5.12.3

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions