UNPKG

fenextjs-component

Version:
31 lines (30 loc) • 1.49 kB
import { _TProps } from "fenextjs-interface"; import React, { CSSProperties } from "react"; import { CollapseProps } from "../../Collapse/Simple"; import { DesignTypographyValue } from "./fontUnit"; export interface DesignTypographyValueProps extends Partial<DesignTypographyValue> { } export interface DesignTypographyProps extends _TProps { className?: string; defaultValue?: DesignTypographyValueProps; value?: DesignTypographyValueProps; onChange?: (data: DesignTypographyValueProps) => void; onChangeStyles?: (data: CSSProperties) => void; textTypography?: string; textExample?: string; textExampleValue?: string; textColor?: string; textSize?: string; textAlign?: string; textWeight?: string; textTransform?: string; textStyle?: string; textDecoration?: string; textLineHeight?: string; textLetterSpacing?: string; textWordSpacing?: string; collapseName?: CollapseProps["name"]; collapseType?: CollapseProps["type"]; collapseUseActiveForShowChildren?: CollapseProps["useActiveForShowChildren"]; } export declare const DesignTypography: ({ className, textTypography, textExample, textExampleValue, textColor, textSize, textAlign, textWeight, textTransform, textStyle, textDecoration, textLineHeight, textLetterSpacing, textWordSpacing, defaultValue, value, onChange, onChangeStyles, collapseName, collapseType, collapseUseActiveForShowChildren, ...props }: DesignTypographyProps) => React.JSX.Element;