diff --git a/src/MarkdownTextInputDecoratorViewNativeComponent.ts b/src/MarkdownTextInputDecoratorViewNativeComponent.ts index 16570430..27815616 100644 --- a/src/MarkdownTextInputDecoratorViewNativeComponent.ts +++ b/src/MarkdownTextInputDecoratorViewNativeComponent.ts @@ -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; @@ -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;