export function Text()

in src/components/typography.tsx [63:79]


export function Text(props: Props) {
  const {children, style, ...otherProps} = props;
  const {colors} = useTheme();
  const textStyle = useMemo<StyleProp<TextStyle>>(
    () => [
      {fontSize: normalize(14), fontStyle: 'normal', color: colors.text},
      style,
    ],
    [colors.text, style],
  );

  return (
    <ELText style={textStyle} {...otherProps}>
      {children}
    </ELText>
  );
}