jobiqo-cl
Version:
[](https://circleci.com/gh/jobiqo/jobiqo-cl)
19 lines (18 loc) • 590 B
TypeScript
/**
* @file index.tsx
*
* @fileoverview Renders text as a particular style (custom styles).
*/
import React from 'react';
import { ColorProps, FontSizeProps, LineHeightProps, SpaceProps, TextAlignProps } from 'styled-system';
declare type BaseTextProps = ColorProps & SpaceProps & FontSizeProps & LineHeightProps & TextAlignProps;
export interface TextProps extends BaseTextProps {
children: React.ReactNode;
tag: string;
}
export declare const Text: ({ children, tag, ...props }: {
[x: string]: any;
children: any;
tag: any;
}) => JSX.Element;
export default Text;