UNPKG

@blocklet/ui-react

Version:

Some useful front-end web components that can be used in Blocklets.

24 lines (23 loc) 849 B
import { default as PropTypes } from 'prop-types'; /** * footer 中的 links (支持分组, 最多支持 2 级) */ declare function Links({ links, flowLayout, columns, ...rest }: { [x: string]: any; links?: any[] | undefined; flowLayout?: boolean | undefined; columns: any; }): import("react/jsx-runtime").JSX.Element | null; declare namespace Links { namespace propTypes { let links: PropTypes.Requireable<(PropTypes.InferProps<{ label: PropTypes.Requireable<string>; link: PropTypes.Requireable<string>; render: PropTypes.Requireable<(...args: any[]) => any>; props: PropTypes.Requireable<object>; }> | null | undefined)[]>; let flowLayout: PropTypes.Requireable<boolean>; let columns: PropTypes.Validator<number>; } } export default Links;