Skip to content

Conversation

summer-cook
Copy link
Contributor

@summer-cook summer-cook commented Nov 15, 2023

Story

Adds a target prop so users can optionally pass target: _blank in order to open footer links in a new tab

Related

Acceptance

  • As a user, I can open a link in a new tab if it has the target: _blank prop

Video

https://share.zight.com/04ud8wnJ

addClass: '',
icon: '',
style: {},
target: ''
Copy link
Member

@alishaevn alishaevn Nov 15, 2023

Choose a reason for hiding this comment

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

the default value for this attribute is target='_self'. (ref: docs) what behavior does an empty string perform?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it does the exact same thing as target='_self', but i will change it to self if for best practices purposes

@summer-cook summer-cook merged commit a10e467 into main Nov 15, 2023
@alishaevn alishaevn deleted the footer-links-in-new-tab-option branch February 27, 2024 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants