File tree Expand file tree Collapse file tree
apps/example/src/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,8 +29,7 @@ interface ToolbarButtonTextProps {
2929}
3030
3131export type ToolbarButtonProps =
32- | ToolbarButtonIconProps
33- | ToolbarButtonTextProps ;
32+ ToolbarButtonIconProps | ToolbarButtonTextProps ;
3433
3534export const ToolbarButton : FC < ToolbarButtonProps > = ( {
3635 icon,
Original file line number Diff line number Diff 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
44export 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.
Original file line number Diff line number Diff 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 ;
You can’t perform that action at this time.
0 commit comments