hackforla / lucky-parking

Visualization of parking data to assist in understanding of the effects of parking policies on a neighborhood by neighborhood basis in the City of Los Angeles
https://www.hackforla.org/projects/lucky-parking.html
34 stars 60 forks source link

[Stepper Title] Refactor Stepper Title to resemble Modal Title Implementation #565

Open gibsonliketheguitar opened 10 months ago

gibsonliketheguitar commented 10 months ago

User Story

As a developer, I want to create a unique Stepper title without passing a ReactNode as a prop.

Description

https://github.com/hackforla/lucky-parking/blob/73039a49d68720dcbd402ac13993a70f5de15d8d/packages/ui/src/components/modal/modal.stories.tsx#L39-L54

Looking At ModalTile, let's replicate something like that.

Acceptance Criteria

Design References

No response

Technical References

Possible implementation

<StepperContainer>
  <StepperItem>
     <StepperTitle> Hello, World </StepperTitle>
     <StepperContent> Weather's pretty nice. </StepperContent>
  </StepperItem>
</StepperContainer>

Additional Information

No response