Skip to content

Commit

Permalink
e2e(Link): add icon
Browse files Browse the repository at this point in the history
  • Loading branch information
inomdzhon committed Sep 13, 2024
1 parent 723c53d commit a8dd31a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions packages/vkui/src/components/Link/Link.e2e-playground.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
import { Icon24ExternalLinkOutline } from '@vkontakte/icons';
import { ComponentPlayground, type ComponentPlaygroundProps } from '@vkui-e2e/playground-helpers';
import { Link, type LinkProps } from './Link';

export const LinkFocusVisiblePlayground = (props: ComponentPlaygroundProps) => (
<ComponentPlayground {...props}>
{(props: LinkProps) => (
<div style={{ width: 300, padding: 10 }}>
Нажимая «Продолжить», вы принимаете&nbsp;
Нажимая «Продолжить», вы принимаете{' '}
<Link href="#" {...props}>
пользовательское соглашение
пользовательское соглашение&nbsp;
<Icon24ExternalLinkOutline width={16} height={16} />
</Link>
...
</div>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a8dd31a

Please sign in to comment.