adui
Version:
<div> <img src="https://wxa.wxs.qq.com/mpweb/delivery/legacy/wxadtouch/upload/t1/od834zef_52939fc6.png" style="margin:40px 0 0 -8px; background-color: #fcfcfc; box-shadow: none;" /> </div>
32 lines (31 loc) • 548 B
TypeScript
import React from "react";
import { IconNames } from "../icon";
import "./style";
export interface IItemProps {
[key: string]: any;
/**
* 子节点
*/
children?: React.ReactNode;
/**
* 附加类名
*/
className?: string;
/**
* 是否禁用
*/
disabled?: boolean;
/**
* 设置图标
*/
icon?: IconNames;
/**
* 独立的 index required
*/
index: React.ReactText;
}
/**
* 导航栏 - item
*/
declare const Item: React.FC<IItemProps>;
export default Item;