3.0.9 • Published 3 years ago

@berlitz/floating-action-button v3.0.9

Weekly downloads
4,754
License
MIT
Repository
-
Last release
3 years ago

Floating Action Button npm version

Add a floating action button to your site, handles any custom onclick event when pressed.

Installation

yarn add @berlitz/floating-action-button

Props

ArgumentTypeRequiredDefaultExample
asstring"button"accepts 'a', 'button'
hrefstring
tostring
onClickfunction() => alert('click')
textstring
isHiddenboolfalse

Usage

import FloatingActionButton from '@berlitz/floating-action-button'
const MyApp = () => (
  <FloatingActionButton onClick={() => alert('click')} text="Example Button" />
)

When to use this component

  • Scroll to top
  • Scroll to call to action
  • Redirect to forms
3.0.10-test.25

3 years ago

3.0.9

4 years ago

3.0.8

4 years ago

3.0.7

4 years ago

3.0.6

4 years ago

3.0.1-alpha.63

4 years ago

3.0.5

4 years ago

3.0.4

4 years ago

3.0.3

4 years ago

3.0.2

5 years ago

3.0.1

5 years ago

3.0.0

5 years ago

2.2.2

6 years ago

2.2.1

6 years ago

2.2.0

6 years ago

2.1.6

6 years ago

2.1.5

6 years ago

2.1.4

6 years ago

2.1.3

6 years ago

2.1.2

6 years ago

2.1.1

6 years ago

2.1.0

6 years ago

2.0.7

6 years ago

2.0.6

6 years ago

2.0.5

6 years ago

2.0.3

6 years ago

2.0.2

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

2.0.0-alpha.0

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago