UNPKG

@lx-react-materiel/ms-shop

Version:

## usage

40 lines (39 loc) 942 B
import React from 'react'; import type { ImageProps } from '@tarojs/components'; import './index.less'; interface IPromoBannerProps extends ImageProps { width: number | string; height: number | string; title: string; onClick?: (...args: any[]) => void; textProps?: { fontSize?: number; fontWeight?: number | string; }; imageProps?: { marginTop?: number; marginLeft?: number; }; contentProps?: { paddingTop?: number; paddingLeft?: number; paddingRight?: number; paddingBottom?: number; }; direction?: 'row' | 'column'; iconSrc: string; desc?: string | React.ReactNode; total?: { size?: number; img?: string; width?: number; height?: number; }; } /** * banner 组件 * @param props * @constructor */ export declare function MsBanner(props: IPromoBannerProps): JSX.Element; export {};