We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bea9c01 commit 5af6152Copy full SHA for 5af6152
src/design-system/text-link/text-link.component.tsx
@@ -13,13 +13,15 @@ import type { OmitClassName } from '../../types';
13
export type Props = OmitClassName<'a'> & {
14
disabled?: boolean;
15
label?: string;
16
+ testId?: string;
17
px?: keyof typeof spacing;
18
};
19
20
export const TextLink = ({
21
disabled = false,
22
px = '$8',
23
label,
24
+ testId,
25
...props
26
}: Readonly<Props>): JSX.Element => {
27
return (
@@ -30,6 +32,7 @@ export const TextLink = ({
30
32
alignItems="center"
31
33
justifyContent="center"
34
px={px}
35
+ testId={testId}
36
>
37
<Flex alignItems="center" justifyContent="center">
38
<Text.Button
0 commit comments