Skip to content

Commit

Permalink
Remove NumberValue type
Browse files Browse the repository at this point in the history
  • Loading branch information
Skalakid committed Feb 5, 2024
1 parent 1268f49 commit 5b56c60
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/MarkdownTextInputDecoratorViewNativeComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ import type {ColorValue, ViewProps} from 'react-native';
import type {Float} from 'react-native/Libraries/Types/CodegenTypes';
import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';

type NumberValue = Float;

interface MarkdownStyle {
syntax: {
color: ColorValue;
Expand All @@ -13,13 +11,13 @@ interface MarkdownStyle {
color: ColorValue;
};
h1: {
fontSize: NumberValue;
fontSize: Float;
};
blockquote: {
borderColor: ColorValue;
borderWidth: NumberValue;
marginLeft: NumberValue;
paddingLeft: NumberValue;
borderWidth: Float;
marginLeft: Float;
paddingLeft: Float;
};
code: {
fontFamily: string;
Expand Down

0 comments on commit 5b56c60

Please sign in to comment.