Closed 7emansell closed 3 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
nypl-design-system | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Aug 8, 2024 7:26pm |
Looks good but some documentation update. I haven't tested it beyond that time we tested it together and it was working but I'll try to review it in Turbine or DCF if you have a working branch/vercel preview.
https://nypl-ds-test-b59lbu4si-nypl.vercel.app/components/breadcrumbs!
I feel like customLink
is clearer to me as a dev than as
(which even as a Chakra convention is slightly confusing) but I agree either could work, so happy to change it!
@7emansell,
I don't think as
, in this case, is appropriate. As Jackie noted, it doesn't feel right as a component level prop name. Something like linkAs
would be better. That said, I am leaning toward the other naming convention. But I think even that could be better. customLinkType
or customLinkComponent
feels better to me.
Cc @jackiequach @EdwinGuzman
Fixes JIRA ticket DSD-1797.
This PR does the following:
customLinkComponent
prop toBreadcrumbs
linkProps
prop tobreadcrumbsData
How has this been tested?
Locally, and in this Turbine branch
Accessibility concerns or updates
Accessibility Checklist
aria-live
is used, a screenreader was used to verify the text is read.ref
s, focus management was reviewed.Open Questions
customLink
is resistant to stricter typing but I would like for it not to beany
?Checklist:
Front End Review: