import {
_,
Decorators,
Themes,
Typography,
InputWithHint,
SearchableSelect,
SearchableSelectWithChips,
} from 'techgc-design-system'
const { MavenBaseTheme } = Themes
const { marginDecorator } = Decorators
_
is our custom and extended version of underscore:
_.contains = includes
_.get = get
_.cloneDeep = cloneDeep
_.uniqBy = uniqBy
_.camelCase = camelCase
_.getForcedDefault = (object, path, defaultValue) => {
let result = get(object, path)
if (!result && defaultValue !== undefined) result = defaultValue
return result
}
export default _