🚀 DAY 2 OF LAUNCH WEEK: Announcing Socket Certified Patches: One-Click Fixes for Vulnerable Dependencies.Learn more →
Socket
Book a DemoInstallSign in
Socket

@douyinfe/semi-site-header

Package Overview
Dependencies
Maintainers
10
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@douyinfe/semi-site-header

semi site header

latest
npmnpm
Version
0.0.30
Version published
Maintainers
10
Created
Source

Semi site header

header used in Semi Design

đź’ˇ Usage

install

npm install @douyinfe/semi-site-header

import

import Header '@douyinfe/semi-site-header';

ReactDOM.render(<Header />, root);

📍 Props

PropertyDescriptionTypeDefault
classNameclass namestring
stylecustom styleCSSProperties
localelocale codestring
preferColorfollow system dark themeboolean
logologo contentReactNode
ghLinkgithub linkstring"https://github.com/DouyinFE/semi-design"
onLogoClicklogo click event() => void
onDarkChangedark change event(mode: string) => void
onThemeChangetheme change event(color: string) => void
onLocaleChangelocale change event(locale: string) => void

Keywords

semi

FAQs

Package last updated on 04 Jun 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts