Functions
PrinterBackgroundPaper
Parameters
PrinterDisplayText
- PrinterDisplayText(props: SystemProps<Theme> & { align?: "center" | "left" | "right" | "inherit" | "justify"; children?: ReactNode; classes?: Partial<TypographyClasses>; gutterBottom?: boolean; noWrap?: boolean; paragraph?: boolean; sx?: SxProps<Theme>; variant?: "button" | "inherit" | "caption" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "overline" | "subtitle1" | "subtitle2" | "body1" | "body2"; variantMapping?: Partial<Record<"button" | "inherit" | "caption" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "overline" | "subtitle1" | "subtitle2" | "body1" | "body2", string>> } & CommonProps & Omit<Pick<DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "key" | keyof HTMLAttributes<HTMLSpanElement>> & { ref?: Ref<HTMLSpanElement> }, "children" | "align" | "paragraph" | StandardSystemKeys | "sx" | keyof CommonProps | "variant" | "gutterBottom" | "noWrap" | "variantMapping"> & { inline?: boolean }): <internal>.Element
Parameters
props: SystemProps<Theme> & { align?: "center" | "left" | "right" | "inherit" | "justify"; children?: ReactNode; classes?: Partial<TypographyClasses>; gutterBottom?: boolean; noWrap?: boolean; paragraph?: boolean; sx?: SxProps<Theme>; variant?: "button" | "inherit" | "caption" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "overline" | "subtitle1" | "subtitle2" | "body1" | "body2"; variantMapping?: Partial<Record<"button" | "inherit" | "caption" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "overline" | "subtitle1" | "subtitle2" | "body1" | "body2", string>> } & CommonProps & Omit<Pick<DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "key" | keyof HTMLAttributes<HTMLSpanElement>> & { ref?: Ref<HTMLSpanElement> }, "children" | "align" | "paragraph" | StandardSystemKeys | "sx" | keyof CommonProps | "variant" | "gutterBottom" | "noWrap" | "variantMapping"> & { inline?: boolean }
PrinterDivider
Parameters
PrinterNewLevelBox
Parameters
PrinterOldLevelBox
Parameters
PrinterParagraphBox
Parameters
PrinterPartBox
Parameters
PrinterStructureBoxText
- PrinterStructureBoxText(props: SystemProps<Theme> & { align?: "center" | "left" | "right" | "inherit" | "justify"; children?: ReactNode; classes?: Partial<TypographyClasses>; gutterBottom?: boolean; noWrap?: boolean; paragraph?: boolean; sx?: SxProps<Theme>; variant?: "button" | "inherit" | "caption" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "overline" | "subtitle1" | "subtitle2" | "body1" | "body2"; variantMapping?: Partial<Record<"button" | "inherit" | "caption" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "overline" | "subtitle1" | "subtitle2" | "body1" | "body2", string>> } & CommonProps & Omit<Pick<DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "key" | keyof HTMLAttributes<HTMLSpanElement>> & { ref?: Ref<HTMLSpanElement> }, "children" | "align" | "paragraph" | StandardSystemKeys | "sx" | keyof CommonProps | "variant" | "gutterBottom" | "noWrap" | "variantMapping"> & { inline?: boolean; leftmargin?: boolean }): <internal>.Element
Parameters
props: SystemProps<Theme> & { align?: "center" | "left" | "right" | "inherit" | "justify"; children?: ReactNode; classes?: Partial<TypographyClasses>; gutterBottom?: boolean; noWrap?: boolean; paragraph?: boolean; sx?: SxProps<Theme>; variant?: "button" | "inherit" | "caption" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "overline" | "subtitle1" | "subtitle2" | "body1" | "body2"; variantMapping?: Partial<Record<"button" | "inherit" | "caption" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "overline" | "subtitle1" | "subtitle2" | "body1" | "body2", string>> } & CommonProps & Omit<Pick<DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "key" | keyof HTMLAttributes<HTMLSpanElement>> & { ref?: Ref<HTMLSpanElement> }, "children" | "align" | "paragraph" | StandardSystemKeys | "sx" | keyof CommonProps | "variant" | "gutterBottom" | "noWrap" | "variantMapping"> & { inline?: boolean; leftmargin?: boolean }
PrinterWeakenText
- PrinterWeakenText(props: SystemProps<Theme> & { align?: "center" | "left" | "right" | "inherit" | "justify"; children?: ReactNode; classes?: Partial<TypographyClasses>; gutterBottom?: boolean; noWrap?: boolean; paragraph?: boolean; sx?: SxProps<Theme>; variant?: "button" | "inherit" | "caption" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "overline" | "subtitle1" | "subtitle2" | "body1" | "body2"; variantMapping?: Partial<Record<"button" | "inherit" | "caption" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "overline" | "subtitle1" | "subtitle2" | "body1" | "body2", string>> } & CommonProps & Omit<Pick<DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "key" | keyof HTMLAttributes<HTMLSpanElement>> & { ref?: Ref<HTMLSpanElement> }, "children" | "align" | "paragraph" | StandardSystemKeys | "sx" | keyof CommonProps | "variant" | "gutterBottom" | "noWrap" | "variantMapping"> & { inline?: boolean }): <internal>.Element
Parameters
props: SystemProps<Theme> & { align?: "center" | "left" | "right" | "inherit" | "justify"; children?: ReactNode; classes?: Partial<TypographyClasses>; gutterBottom?: boolean; noWrap?: boolean; paragraph?: boolean; sx?: SxProps<Theme>; variant?: "button" | "inherit" | "caption" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "overline" | "subtitle1" | "subtitle2" | "body1" | "body2"; variantMapping?: Partial<Record<"button" | "inherit" | "caption" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "overline" | "subtitle1" | "subtitle2" | "body1" | "body2", string>> } & CommonProps & Omit<Pick<DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "key" | keyof HTMLAttributes<HTMLSpanElement>> & { ref?: Ref<HTMLSpanElement> }, "children" | "align" | "paragraph" | StandardSystemKeys | "sx" | keyof CommonProps | "variant" | "gutterBottom" | "noWrap" | "variantMapping"> & { inline?: boolean }
num2rem
- num2rem(num: number): string
Parameters
Returns string
rem2num
- rem2num(rem: string): number
Parameters
Returns number
remtimes
- remtimes(rem: string, num: number): string
Parameters
Returns string
一个用来包裹一个部分的组件。