UNPKG

@platformbuilders/react-native-ui

Version:
9 lines 546 B
import { __rest } from "tslib"; import React from 'react'; import { Text } from './styles'; const Typography = (_a) => { var { style = [{}], textRef = React.createRef(), variant = 'body', children, id, accessibility } = _a, rest = __rest(_a, ["style", "textRef", "variant", "children", "id", "accessibility"]); return (React.createElement(Text, Object.assign({ testID: id, accessibilityLabel: accessibility, ref: textRef, style: style, variant: variant }, rest), children)); }; export default Typography; //# sourceMappingURL=index.js.map