Skip to content

jp928/react-native-draggable-fab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

368664b · Oct 9, 2020

History

16 Commits
Sep 25, 2020
Sep 30, 2020
Oct 8, 2020
Oct 7, 2020
Oct 9, 2020
Sep 25, 2020
Sep 25, 2020
Oct 9, 2020
Sep 25, 2020
Sep 25, 2020
Oct 8, 2020
Sep 25, 2020
Sep 30, 2020
Sep 28, 2020
Sep 25, 2020
Sep 28, 2020

Repository files navigation

react-native-draggable-fab

Draggable FAB for react native

Installation

npm install react-native-draggable-fab

Usage

import DraggableFab from "react-native-draggable-fab";

// ...

<CoordinatorLayout
  style={{
    flex: 1,
  }}
>
  <View style={styles.container}>
    <Text>Tapped Item: {tappedItem}</Text>
    <IconMDI name="add" size={42} color="#000" />
    <Fab
      animateType={LabelAnimation.SlideLeft}
      itemLabels={['test1', 'test2', 'test3']}
      onItemTap={onTapItem}
      icon="atm"
      onPress={onPress}
      iconProvider={IconMDI}
      iconColor="#fff"
      backgroundColor="#000000"
    />
  </View>
</CoordinatorLayout>

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published