Description
Currently the Text component uses the JS version of the Box component. This blocks the TS Migration of the component library and prevents proper polymorphic typing
Technical Details
- Update
Text component to use the TS version of the Box component
Acceptance Criteria
- Polymorphic
as prop works on the Text component in TypeScript
Text accepts all style utility props
Description
Currently the
Textcomponent uses the JS version of theBoxcomponent. This blocks the TS Migration of the component library and prevents proper polymorphic typingTechnical Details
Textcomponent to use the TS version of theBoxcomponentAcceptance Criteria
asprop works on theTextcomponent in TypeScriptTextaccepts all style utility props