@atlaskit/link
Version:
A link takes people to a new location in the product or another website.
47 lines (46 loc) • 945 B
JavaScript
// A list of display variations used for VR and testing generation purposes
var displayVariations = [{
name: 'Default',
props: {
href: 'https://www.atlassian.com',
children: 'Link'
}
}, {
name: 'Subtle',
props: {
href: 'https://www.atlassian.com',
children: 'Link',
appearance: 'subtle'
}
}, {
name: 'Inverse',
props: {
href: 'https://www.atlassian.com',
children: 'Link',
appearance: 'inverse'
}
}, {
name: 'Opens in new tab',
props: {
href: 'https://www.atlassian.com',
children: 'Link',
target: '_blank'
}
}, {
name: 'Opens in new tab, subtle',
props: {
href: 'https://www.atlassian.com',
children: 'Link',
target: '_blank',
appearance: 'subtle'
}
}, {
name: 'Opens in new tab, inverse',
props: {
href: 'https://www.atlassian.com',
children: 'Link',
target: '_blank',
appearance: 'inverse'
}
}];
export default displayVariations;