3.0.9 • Published 2 years ago

@berlitz/floating-action-button v3.0.9

Weekly downloads
4,754
License
MIT
Repository
-
Last release
2 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

2 years ago

3.0.9

3 years ago

3.0.8

3 years ago

3.0.7

3 years ago

3.0.6

3 years ago

3.0.1-alpha.63

3 years ago

3.0.5

3 years ago

3.0.4

3 years ago

3.0.3

3 years ago

3.0.2

3 years ago

3.0.1

3 years ago

3.0.0

4 years ago

2.2.2

5 years ago

2.2.1

5 years ago

2.2.0

5 years ago

2.1.6

5 years ago

2.1.5

5 years ago

2.1.4

5 years ago

2.1.3

5 years ago

2.1.2

5 years ago

2.1.1

5 years ago

2.1.0

5 years ago

2.0.7

5 years ago

2.0.6

5 years ago

2.0.5

5 years ago

2.0.3

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

2.0.0-alpha.0

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago