jobiqo-cl
Version:
[](https://circleci.com/gh/jobiqo/jobiqo-cl)
21 lines (18 loc) • 778 B
JavaScript
import { __rest } from '../../../../../node_modules/tslib/tslib.es6.js';
import React__default from 'react';
import styled from 'styled-components';
import { color } from '../../../../../node_modules/@styled-system/color/dist/index.esm.js';
import { space } from '../../../../../node_modules/@styled-system/space/dist/index.esm.js';
import { fontSize, lineHeight, textAlign } from '../../../../../node_modules/styled-system/dist/index.esm.js';
const StyledText = styled.div `
${space}
${color}
${fontSize}
${lineHeight}
${textAlign}
`;
const Text = (_a) => {
var { children, tag } = _a, props = __rest(_a, ["children", "tag"]);
return (React__default.createElement(StyledText, Object.assign({ as: tag }, props), children));
};
export { Text };