packageDocumentation module import classnames from "classnames" ; import * as React from "react" ; import { TextProps } from "./TextProps" ; public export interface StyledTextProps extends TextProps { /** Main CSS class name */ mainClassName : string ; } public export function StyledText ( props ) { const { mainClassName , className , style , children , ... spanProps } = props ; return ( < span { ... spanProps } className = { classnames ( mainClassName , className ) } style = { style } > { children } < /span>); }