@platformbuilders/react-native-ui
Version:
Platform Builders Shared Components Library
9 lines • 546 B
JavaScript
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