1.6.1 • Published 5 years ago

@fenderdigital/react-off-canvas v1.6.1

Weekly downloads
1
License
UNLICENSED
Repository
-
Last release
5 years ago

OffCanvas for Fender React UI Kit

Description

The OffCanvas component allows for content to be displayed on and off the viewport.

Installation and Usage

yarn add @fenderdigital/react-off-canvas --save
import OffCanvas from '@fenderdigital/react-off-canvas';

Props

  • children - renders any child elements
  • isVisible - controls expanded and collapsed state
  • onCallback - callback after the visibility state is set
  • opacity - controls opacity level of the bg color
  • placement - position child content will slide in from (left or right)
propNamepropTypedefaultValueisRequired
childrennodenull-
isVisiblebooleannull-
onCallbackfunc() => {}-
opacitynumbernull-
placementstringleft-

Development

Check the Monorepo README for development documentation.

1.6.1

5 years ago

1.6.0

5 years ago

1.5.1

5 years ago

1.5.0

5 years ago

1.4.0

5 years ago

1.3.1

5 years ago

1.2.1

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago