NativeBase icon indicating copy to clipboard operation
NativeBase copied to clipboard

<Content> tag in NativeBase 3?

Open aaa646123 opened this issue 3 years ago • 1 comments

Description

I am trying upgrade the module from v2 to v3. But I found that seems <Content> 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

aaa646123 avatar Jul 20 '22 13:07 aaa646123

Hey @aaa646123 , Content component is deprecated in v3. We'll add it to our roadmap for future releases.

ankit-tailor avatar Jul 21 '22 12:07 ankit-tailor