-
Notifications
You must be signed in to change notification settings - Fork 20
Closed
Milestone
Description
In the card
documentation, we have this banner (copied from figma):
Do not place more than one interactive element on an interactive card. If your card should contain more than one action, consider using a non-interactive card which can contain multiple different actionable/interactive elements.
But on the post-linkarea
documentation, the main example has two links in it, and the documentation states that clicking on the area will click on the first link, unless a data-link
is provided.
Tasks:
- Remove the
data-link
attribute logic from thepost-linkarea
and its documentation - Output an error if there is more than one link inside a
post-linkarea
- Update the documentation to show an simpler example not using the card classes and with only one link
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
🚀 Done