UNPKG

jobiqo-cl

Version:

[![CircleCI](https://circleci.com/gh/jobiqo/jobiqo-cl.svg?style=svg&circle-token=5a24efa5b8bbc4879276123e77d0d3f35ca7144c)](https://circleci.com/gh/jobiqo/jobiqo-cl)

19 lines (18 loc) 590 B
/** * @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;