Start sharing components as a team!Share components as a team!Join Bit to build your applications faster.Get Started Free

utils

v0.9.6arrow_drop_down
v0.9.6
STATUS
Passing
DOWNLOADS
2,766
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
10 months ago
SIZE
2 KB
Property types for general properties.
Use utils in your project ?
Copied
npm i @bit/digiaonline.react-foundation.internal.utils
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.dev
Component Example
React
React
Vue
Angular
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
toggle layout
chevron_left
chevron_right

Property types for general properties.

Creates class names from the given arguments.

Parses the general class names from the given properties.

Returns the keys for the given object. This method is used for getting the keys for prop types.

Returns the values for the given object. This method is used for getting the values for enumerables.

Removes properties from the given object. This method is used for removing valid attributes from component props prior to rendering.

Returns whether or not the given value is defined.

Adds a breakpoint to a class if breakpoint is specified.

Sets direction for grid and gutters (horizontal or vertical).

Property types for flexbox utilities.

Parses the flexbox class names from the given properties.