Skip to content

Latest commit

 

History

History

react-discretize-components

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

@discretize/react-discretize-components npm

react-discretize-components contains shared react components for all discretize projects. For example usage please refer to the gear-optimizer repository. At the moment this library will only work in gatsby projects.

Installation

yarn add @discretize/react-discretize-components

Dependencies in the implementing application:

  • react
  • gw2-ui-new

Included components

List of react components:

  • Character
    • Armor
    • Attributes
    • BackAndTrinkets
    • Consumables
    • Legends
    • Skills
    • Weapons
  • TextDivider
  • NoSelection

List of helper functions:

  • iconSizes mapping: (string) => integer
  • firstUppercase