import React from 'react'; import { Text } from 'react-native'; import styled from 'styled-components/native'; import { border, color, flexbox, layout, space, typography, } from 'styled-system'; import { customBorder, customBackground, customOutline, customLayout, customExtra, customShadow, customTypography, } from '../../../utils/customProps'; import { usePropsConfig } from '../../../theme'; import type { IHeadingProps } from './props'; const StyledHeading = styled(Text)( color, space, layout, flexbox, border, typography, customBorder, customBackground, customOutline, customShadow, customExtra, customLayout, customTypography ); const Heading = ({ isTruncated, style, ...props }: IHeadingProps) => { const newProps = usePropsConfig('Heading', props); return ( ); }; export default Heading; export type { IHeadingProps };