UNPKG

@eccenca/gui-elements

Version:

GUI elements based on other libraries, usable in React application, written in Typescript.

11 lines (10 loc) 424 B
import React from "react"; import { TextReducerProps } from "./../../components/TextReducer/TextReducer"; export interface ReduceToTextFuncType { ( /** * Component or text to reduce HTML markup content to plain text. */ input: React.ReactNode | React.ReactNode[] | string, options?: Pick<TextReducerProps, "maxNodes" | "maxLength">): string; } export declare const reduceToText: ReduceToTextFuncType;