Skip to content

Releases: GeorgeHop/react-native-screens-swiper

v1.1.11

10 May 08:34
Compare
Choose a tag to compare

Fix tabs on press

v1.1.10

08 May 20:56
Compare
Choose a tag to compare

Some fixes and props improvings

v1.1.9

05 May 14:11
Compare
Choose a tag to compare

Remove onLayout

v1.1.8

03 May 07:52
5f8c2c5
Compare
Choose a tag to compare

Improve swiper container

v1.1.5

02 May 11:51
Compare
Choose a tag to compare

Added support for sticky header component.

v1.1.3

24 Apr 08:17
Compare
Choose a tag to compare

fix regular functions not being rendered

v1.1.0

21 Apr 16:04
Compare
Choose a tag to compare

Added support of rendering React components, render functions and JSX elements.
Components and functions recieve props specified in data and additional index props.

import FirstScreen from "./FirstScreen";
import SecondScreen from "./SecondScreen";
...
const data = [
    {
        tabLabel: 'Valid component in form of JSX element',
        component: <FirstScreen/>,
    },
    {
        tabLabel: 'Valid component in form of React component',
        component: SecondScreen,
        props: {}, // additional props
    },
    {
        tabLabel: 'Valid component in form of render function',
        component: ({index, ...props}) => {},
        props: {}, // additional props
    },
];

return <Swiper data={data}/>;

v1.0.5

21 Apr 13:38
Compare
Choose a tag to compare

Fix container styles

v1.0.4

21 Apr 11:23
Compare
Choose a tag to compare

Code cleanup, remove screenIndex props in favour of FlatList's initialScrollIndex, remove premature optimization

v1.0.3

21 Apr 08:58
Compare
Choose a tag to compare

Remove redundant styles from static pills