Skip to content

Conversation

@yuberdysheva
Copy link
Contributor

No description provided.

@gravity-ui-bot
Copy link
Contributor

Preview is ready.


return (
<CardBase className={b()} url={url} border={border}>
<CardBase className={b()} url={url} border={border} target={target}>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we pass url, border and target with rest/spread?

const {title, text,icon, additionalInfo, links, buttons, ...cardParams} = props;
...
<CardBase className={b()} {...cardParams}>

@yuberdysheva yuberdysheva merged commit 569038c into main Feb 22, 2023
@yuberdysheva yuberdysheva deleted the yuberdysheva/add-target branch March 27, 2023 12:04
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.

4 participants