@acodez/logo 中文文档教程

发布于 3年前 浏览 21 更新于 3年前

@acodez/logo

npm_version license

React 徽标。



Installation

npm install @acodez/logo

Props API

PropertyTypeRequiredDescription
logoIconstringnoimage src for logo icon
logoFullstringnoimage src for logo - full size
logoIconLightstringnoimage src for logo icon - for light theme
logoFullLightstringnoimage src for logo full size - for light theme
visibleLogostringnodeclare which image you want to be shown, full or icon
positionstringnodeclare 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

npm_version license

React logo.



Installation

npm install @acodez/logo

Props API

PropertyTypeRequiredDescription
logoIconstringnoimage src for logo icon
logoFullstringnoimage src for logo - full size
logoIconLightstringnoimage src for logo icon - for light theme
logoFullLightstringnoimage src for logo full size - for light theme
visibleLogostringnodeclare which image you want to be shown, full or icon
positionstringnodeclare 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>
    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文