Skip to content
This repository was archived by the owner on Dec 24, 2019. It is now read-only.

Version 6.0.0

Compare
Choose a tag to compare
@pburtchaell pburtchaell released this 21 Jul 18:04
· 149 commits to master since this release

This release enables dynamic bar positions using two factory functions. The two factory functions enable you to return an object for the style of the notification bar when in two states: either active or inactive.

Example:

function defaultStyleFactory(index, style) {
  return Object.assign(
    {},
    style,
    { bottom: `${2 + index * 4}rem` }
  );
}