dxc-technology / halstack-react

Library of components for building SPAs with React and Halstack Design System
https://developer.dxc.com/halstack/
Apache License 2.0
15 stars 14 forks source link

Update the component Props table #1672

Closed GomezIvann closed 1 year ago

GomezIvann commented 1 year ago

Since Halstack's inception, every component props table has followed the same structure. But, we have evolved, and our technologies have expanded substantially. We currently recommend and use Typescript with our React components. In our tables, the types are not correctly highlighted and do not always correspond precisely to actual implementation. The proposal here is:

  1. Add a new Type column with the exact Typescript types of each prop.
  2. Identify visually the props that are required.
  3. Allow users to order the props by name.