Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CP Staging] Revert typescript migration change #36360

Merged
merged 2 commits into from
Feb 12, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import type {TextStyle} from 'react-native';

Check failure on line 2 in src/components/HTMLEngineProvider/HTMLRenderers/CodeRenderer.tsx

View workflow job for this annotation

GitHub Actions / lint

'TextStyle' is defined but never used
import {splitBoxModelStyle} from 'react-native-render-html';
import type {CustomRendererProps, TPhrasing, TText} from 'react-native-render-html';
import * as HTMLEngineUtils from '@components/HTMLEngineProvider/htmlEngineUtils';
Expand Down Expand Up @@ -41,7 +41,7 @@

return (
<InlineCodeBlock
defaultRendererProps={{...defaultRendererProps, style: style as TextStyle}}
defaultRendererProps={{...defaultRendererProps, style: {}}}
TDefaultRenderer={TDefaultRenderer}
boxModelStyle={boxModelStyle}
textStyle={{...textStyle, ...textStyleOverride}}
Expand Down
Loading