import * as React from "react"; import { TextProps, StyleSheet } from "react-native"; import StyledText from "./StyledText"; type Props = TextProps & { children: React.ReactNode; }; // @component-group Typography /** * Typography component for showing a paragraph. * *
* *
* * ## Usage * ```js * import * as React from 'react'; * import { Paragraph } from 'react-native-simple-elements/components/Text'; * * const MyComponent = () => ( * Paragraph * ); * * export default MyComponent; * ``` */ const Paragraph = (props: Props) => ( ); export default Paragraph; const styles = StyleSheet.create({ text: { fontSize: 14, lineHeight: 20, marginVertical: 2, letterSpacing: 0.25, }, });