Skip to content

Commit

Permalink
fix: adjust web implementation ref type
Browse files Browse the repository at this point in the history
  • Loading branch information
TheKohan committed Oct 18, 2024
1 parent 6147e2e commit e0f0b87
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/MarkdownTextInput.web.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ interface MarkdownNativeEvent extends Event {
inputType: string;
}

type MarkdownTextInput = TextInput & React.Component<MarkdownTextInputProps>;

type Selection = {
start: number;
end: number;
Expand Down Expand Up @@ -68,7 +70,7 @@ type HTMLMarkdownElement = HTMLElement & {
value: string;
};

const MarkdownTextInput = React.forwardRef<TextInput, MarkdownTextInputProps>(
const MarkdownTextInput = React.forwardRef<MarkdownTextInput, MarkdownTextInputProps>(
(
{
accessibilityLabel,
Expand Down

0 comments on commit e0f0b87

Please sign in to comment.