Share your code. Components are building blocks, you are the architect.

utils/utils
v0.0.1
0.0.1
MIT
PUBLIC
8
0     DEPENDENCIES
Build: pass
BuildPass
Build Status: pass

Returns a new object with the key/value pairs from obj that are not in the array omitKeys.

Gravatar for undefined
reactstrap
Contributors
Gravatar for undefined
6

Please configure Bit as a scoped registry to install components with NPM.Learn more

npm config set '@bit:registry' https://node.bitsrc.io
Use utils/utils in your project
npm i @bit/reactstrap.reactstrap.utils.utils
Copied

utils ()

Returns a new object with the key/value pairs from obj that are not in the array omitKeys.

Test Summary


should return a default config when placement is not matchedPass
should return config for "top" & "top center"Pass
should return config for "bottom" & "bottom center"Pass
should return config for "left" & "left center"Pass
should return config for "right" & "right center"Pass
should return config for "top left"Pass
should return config for "top left"Pass
should return config for "top right"Pass
should return config for "bottom left"Pass
should return config for "bottom right"Pass
should return config for "right top"Pass
should return config for "right bottom"Pass
should return config for "left top"Pass
should return config for "left bottom"Pass
should return a stringPass
should return the classnames it was given, unchangedPass
should return a stringPass
should return the mapped classnamesPass
should return the original classname when it is not in the mapPass
should omit keysPass
should not alter source objectPass
should ignore non-existing keysPass
should return a new objectPass