Skip to content

Commit

Permalink
final fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
male-gal committed Sep 16, 2022
1 parent 3c604fc commit 95f971d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { useCallback, useState } from "react";
import { I18nManager, ScrollView, Alert } from "react-native";
import { I18nManager, ScrollView } from "react-native";
import { Trans } from "react-i18next";
import {
Flex,
Expand Down
7 changes: 4 additions & 3 deletions libs/ui/packages/icons/scripts/buildReactIcons.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,9 @@ function reactNativeTemplate(
return tpl.ast`
${imports}
import Svg from "./StyledSvg";
import { StyleProp, ViewStyle } from "react-native"
type Props = { size?: number | string; color?: string; style?: object };
type Props = { size?: number | string; color?: string; style?: StyleProp<ViewStyle> };
${interfaces}
Expand All @@ -105,9 +106,9 @@ function reactNativeRTLTemplate(
${imports}
import Svg from "./StyledSvg";
import styled from "styled-components";
import { I18nManager } from "react-native";
import { I18nManager, StyleProp, ViewStyle } from "react-native";
type Props = { size?: number | string; color?: string; style?: object };
type Props = { size?: number | string; color?: string; style?: StyleProp<ViewStyle> };
${interfaces}
Expand Down

0 comments on commit 95f971d

Please sign in to comment.