This repository was archived by the owner on Dec 24, 2019. It is now read-only.
Version 6.0.0
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` }
);
}