From 5d209bbbcede0582a157ee4a26b09af671409bfc Mon Sep 17 00:00:00 2001 From: khanhas Date: Sun, 10 Jun 2018 10:45:22 +0700 Subject: [PATCH] Added x and y for Area.Text https://github.com/kusti8/proton-native/commit/178c0903b3d7bdd9a8116a771006651a817c6d02 --- types/proton-native/index.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/types/proton-native/index.d.ts b/types/proton-native/index.d.ts index 23c980fd73..0cfb0e5798 100644 --- a/types/proton-native/index.d.ts +++ b/types/proton-native/index.d.ts @@ -214,6 +214,14 @@ export interface AreaTextProps extends AreaBaseProps { * A color string | 'spelling' | 'grammar' | 'auxiliary' */ textUnderlineColor?: 'spelling' | 'grammar' | 'auxiliary' | string; + /** + * The x coordinate of the text's top left corner. (Only in a top level text component.) + */ + x?: number | string; + /** + * The y coordinate of the text's top left corner. (Only in a top level text component.) + */ + y?: number | string; } export class AreaText extends React.Component { }