Skip to content

<Content> tag in NativeBase 3? #5202

@aaa646123

Description

@aaa646123

Description

I am trying upgrade the module from v2 to v3.
But I found that seems tag didn't exist in v3.
Does it change the name?

Problem Statement

I want to upgrade module from v2 into v3.

Proposed Solution or API

import { Container, Content, Text } from 'native-base';

const LoadingScreen = ({ text }) => (
  <Container>
    <Content contentContainerStyle={commonStyle.centerRowContent}>
      <Text>{text}</Text>
    </Content>
  </Container>
);

Alternatives

No response

Additional Information

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions