Skip to content

Commit c6abdbf

Browse files
authored
Merge pull request #1595 from session-foundation/chore/add-pencil-icon-modal-datatestid
chore: add datatestid to modal pencil icon
2 parents 2d2ed2e + 93602ab commit c6abdbf

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ts/components/dialog/shared/ModalPencilButton.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ export function ModalPencilIcon(props: { onClick: () => void }) {
77
unicode={LUCIDE_ICONS_UNICODE.PENCIL}
88
onClick={props.onClick}
99
iconSize="large"
10+
dataTestId="modal-pencil-button"
1011
iconColor="var(--text-primary-color)"
1112
/>
1213
);

ts/react.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ declare module 'react' {
157157
| 'add-user'
158158
| 'send-message'
159159
| 'scroll-to-bottom'
160-
| 'modal-close'
160+
| `modal-${'close' | 'pencil'}`
161161
| 'microphone'
162162
| 'call'
163163
| 'attachments'

0 commit comments

Comments
 (0)