@acodez/navbar 中文文档教程
@acodez/navbar
React 导航栏。
Installation
npm install @acodez/navbar
Props API
Property | Type | Required | Description |
---|---|---|---|
theme | string | no | navbar theme, dark or light |
size | string | no | size (height) of navabr. choose from normal , small |
direction | string | no | content alignment, horizontal or vertical |
Usage
import Navbar from "@acodez/navbar";
<Navbar theme="dark" direction="horizontal" size="small">
content here
</Navbar>
@acodez/navbar
React navbar.
Installation
npm install @acodez/navbar
Props API
Property | Type | Required | Description |
---|---|---|---|
theme | string | no | navbar theme, dark or light |
size | string | no | size (height) of navabr. choose from normal , small |
direction | string | no | content alignment, horizontal or vertical |
Usage
import Navbar from "@acodez/navbar";
<Navbar theme="dark" direction="horizontal" size="small">
content here
</Navbar>