Skip to content

Conversation

@lsagetlethias
Copy link
Collaborator

As DSFR said, title link is optional.
But obviously, when enlargeLink is set to true, it means that it is required.
This PR handle both cases.

Also, nothing is precise on if enlargeLink must be true by default. As it is an additional class of the card, I set it back to false by default.

@lsagetlethias lsagetlethias requested a review from garronej May 29, 2023 20:01
@lsagetlethias lsagetlethias force-pushed the fix/card-optional-link branch from ddf5f1d to 6a90f50 Compare May 29, 2023 20:05
@garronej
Copy link
Collaborator

Thank you for that!

@garronej garronej merged commit 923b7c1 into main May 29, 2023
@garronej garronej deleted the fix/card-optional-link branch May 29, 2023 21:38
sbourdon13 pushed a commit to sbourdon13/react-dsfr that referenced this pull request Aug 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants