1.0.9 • Published 6 months ago

rn-actions-floating-button v1.0.9

Weekly downloads
-
License
ISC
Repository
github
Last release
6 months ago
  • An animated floating button that reveal and hide actions buttons on click.

  • It comes with a built-in TypeScript typings and is compatible with all popular JavaScript frameworks. You can use it directly or leverage well-maintained wrapper packages that allow for a more native integration with your frameworks of choice.

Example:

npm.io

How to use:

  <ActionsFloatingButton
      actionButtons={[
        {
          id: 0,
          icon: () => <MaterialIcons name="create" size={30} color="#FFFF" />,
        },
        {
          id: 1,
          icon: () => (
            <Ionicons name="create-outline" size={30} color="#FFFF" />
          ),
        },
      ]}
      // closeButton={{
      //   id: 0,
      //   icon: () => <AntDesign name="plus" size={30} color="#FFFF" />,
      // }}
    />

#ActionButton Props -

NameTypeDefault
idnumber
icon() => JSX.Element
styleViewStyle
onClick() => void

#ActionsFloatingButton Props - | Name | Type | Default | | ----- | ----------------- | ------- | | actionButtons | ActionButton[]| | closeButton | ActionButton|

1.0.9

6 months ago

1.0.8

6 months ago

1.0.7

6 months ago

1.0.6

6 months ago

1.0.5

6 months ago

1.0.4

6 months ago

1.0.3

6 months ago

1.0.2

6 months ago

1.0.1

6 months ago

1.0.0

6 months ago