English | 简体中文
@ray-js/components-ty-tabbar
涂鸦风格 Tabbar
Installation
$ npm install @ray-js/components-ty-tabbar
# or
$ yarn add @ray-js/components-ty-tabbar
Usage
Basic Usage
import Tabbar from '@ray-js/components-ty-tabbar';
export default () => {
return (
<Tabbar>
<Tabbar.TabItem icon={<Icon type="icon-a-sunmaxfill" />}>标签</Tabbar.TabItem>
<Tabbar.TabItem icon={<Icon type="icon-a-cloudhailfill" />}>标签</Tabbar.TabItem>
<Tabbar.TabItem icon={<Icon type="icon-a-cloudsunrainfill" />}>标签</Tabbar.TabItem>
<Tabbar.TabItem icon={<Icon type="icon-a-moonstarsfill" />}>标签</Tabbar.TabItem>
</Tabbar>
);
};