@cuvp1225/tango-mail
Version:
react mail components for tango
17 lines (16 loc) • 915 B
TypeScript
import React from 'react';
export interface ListProps extends React.ComponentPropsWithoutRef<'ul'> {
/**
* 列表项的标记类型
*/
marker?: 'disc' | 'none';
}
export declare function ListView({ marker, children, style, className, ...props }: ListProps): React.JSX.Element;
export declare const List: React.ForwardRefExoticComponent<ListProps & import("@music163/tango-boot").TangoComponentProps & React.RefAttributes<unknown>>;
export type ListItemProps = React.ComponentPropsWithoutRef<'li'> & {
text?: string;
};
export declare function ListItemView({ text, children, style, ...props }: ListItemProps): React.JSX.Element;
export declare const ListItem: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
text?: string;
} & import("@music163/tango-boot").TangoComponentProps & React.RefAttributes<unknown>>;