techgc-design-system-fork

3.1.6 • Public • Published

The Design System for TechGC Apps.

Stroybook link

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 _

Dependents (0)

Package Sidebar

Install

npm i techgc-design-system-fork

Weekly Downloads

1

Version

3.1.6

License

MIT

Unpacked Size

811 kB

Total Files

23

Last publish

Collaborators

  • ageoshka