@acodez/logo 中文文档教程
@acodez/logo
React 徽标。
Installation
npm install @acodez/logo
Props API
Property | Type | Required | Description |
---|---|---|---|
logoIcon | string | no | image src for logo icon |
logoFull | string | no | image src for logo - full size |
logoIconLight | string | no | image src for logo icon - for light theme |
logoFullLight | string | no | image src for logo full size - for light theme |
visibleLogo | string | no | declare which image you want to be shown, full or icon |
position | string | no | declare how you want logo to position, choose from block or inline |
Usage
import Logo from "@acodez/logo";
<Logo logoIcon={logoIcon} logoFull={logoImage} logoIconLight={logoIconLight} logoFullLight={logoImageLight} visibleLogo="full" position="inline"></Logo>
@acodez/logo
React logo.
Installation
npm install @acodez/logo
Props API
Property | Type | Required | Description |
---|---|---|---|
logoIcon | string | no | image src for logo icon |
logoFull | string | no | image src for logo - full size |
logoIconLight | string | no | image src for logo icon - for light theme |
logoFullLight | string | no | image src for logo full size - for light theme |
visibleLogo | string | no | declare which image you want to be shown, full or icon |
position | string | no | declare how you want logo to position, choose from block or inline |
Usage
import Logo from "@acodez/logo";
<Logo logoIcon={logoIcon} logoFull={logoImage} logoIconLight={logoIconLight} logoFullLight={logoImageLight} visibleLogo="full" position="inline"></Logo>