Skip to content

Commit

Permalink
remove redundant props
Browse files Browse the repository at this point in the history
  • Loading branch information
tienifr committed Dec 25, 2023
1 parent f3c1933 commit 02b9460
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/InlineCodeBlock/index.native.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import useThemeStyles from '@hooks/useThemeStyles';
import type InlineCodeBlockProps from './types';
import WrappedText from './WrappedText';

function InlineCodeBlock<TComponent extends TText>({TDefaultRenderer, defaultRendererProps, textStyle, boxModelStyle, fontSize}: InlineCodeBlockProps<TComponent>) {
function InlineCodeBlock<TComponent extends TText>({TDefaultRenderer, defaultRendererProps, textStyle, boxModelStyle}: InlineCodeBlockProps<TComponent>) {
const styles = useThemeStyles();

return (
Expand Down
1 change: 0 additions & 1 deletion src/components/InlineCodeBlock/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ type InlineCodeBlockProps<TComponent extends TText> = {
textStyle: StyleProp<TextStyle>;
defaultRendererProps: TDefaultRendererProps<TComponent>;
boxModelStyle: StyleProp<ViewStyle & TextStyle>;
fontSize: number;
};

export default InlineCodeBlockProps;

0 comments on commit 02b9460

Please sign in to comment.