Skip to content

Commit 53c6165

Browse files
committed
chore: lint
1 parent 69ecadf commit 53c6165

3 files changed

Lines changed: 3 additions & 11 deletions

File tree

apps/example/src/components/ToolbarButton.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ interface ToolbarButtonTextProps {
2929
}
3030

3131
export type ToolbarButtonProps =
32-
| ToolbarButtonIconProps
33-
| ToolbarButtonTextProps;
32+
ToolbarButtonIconProps | ToolbarButtonTextProps;
3433

3534
export const ToolbarButton: FC<ToolbarButtonProps> = ({
3635
icon,

src/web/nativeMappers/returnKeyTypeToEnterKeyHint.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,7 @@ import type { ReturnKeyTypeOptions } from 'react-native';
22

33
// Keywords for the HTML global [`enterkeyhint`](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/enterkeyhint) attribute
44
export type EnterKeyHint =
5-
| 'enter'
6-
| 'done'
7-
| 'go'
8-
| 'next'
9-
| 'previous'
10-
| 'search'
11-
| 'send';
5+
'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';
126

137
// Maps React Native `returnKeyType` to the HTML global `enterkeyhint` attribute
148
// if possible, otherwise falls back to enter.

src/web/utils/pasteImages.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,7 @@ export function handleClipboardPasteImages(
6464
event: ClipboardEvent,
6565
getEditor: () => Editor | null,
6666
getOnPasteImages: () =>
67-
| ((e: NativeSyntheticEvent<OnPasteImagesEvent>) => void)
68-
| undefined
67+
((e: NativeSyntheticEvent<OnPasteImagesEvent>) => void) | undefined
6968
): boolean {
7069
const clipboardData = event.clipboardData;
7170
if (!clipboardData) return false;

0 commit comments

Comments
 (0)