techgc-design-system
v3.2.2
Published
Design system for TechGC apps
Downloads
56
Readme
The Design System for TechGC Apps.
NPM Package Update
- Commit changes
- yarn build
- npm version patch|minor|major -m "Upgrade to %s - ... changes summary"
- npm publish
Import example:
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 _