
Product
Announcing Bun and vlt Support in Socket
Bringing supply chain security to the next generation of JavaScript package managers
@snack-uikit/breadcrumbs
Advanced tools
npm i @snack-uikit/breadcrumbs
ΠΠΎΠΌΠΏΠΎΠ½Π΅Π½Ρ Ρ Π»Π΅Π±Π½ΡΡ ΠΊΡΠΎΡΠ΅ΠΊ
| name | type | default value | description |
|---|---|---|---|
| items* | Item[] | - | ΠΠ°ΡΡΠΈΠ² Π°ΠΉΡΠ΅ΠΌΠΎΠ² |
| className | string | - | CSS-ΠΊΠ»Π°ΡΡ |
| separator | string | "βΊ" | Π Π°Π·Π΄Π΅Π»ΠΈΡΠ΅Π»Ρ |
| size | enum Size: "xs", "s" | s | Π Π°Π·ΠΌΠ΅Ρ |
| firstItemIconOnly | boolean | false | ΠΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΡ ΠΈΠΊΠΎΠ½ΠΊΡ Π±Π΅Π· Π»Π΅ΠΉΠ±Π»Π° Π² ΠΏΠ΅ΡΠ²ΠΎΠΌ Π°ΠΉΡΠ΅ΠΌΠ΅ |
| inactiveLastItem | boolean | false | ΠΠ΅Π»Π°Π΅Ρ Π½Π΅ΠΊΠ»ΠΈΠΊΠ°Π±Π΅Π»ΡΠ½ΡΠΌ ΠΏΠΎΡΠ»Π΅Π΄Π½ΠΈΠΉ ΡΠ»Π΅ΠΌΠ΅Π½Ρ, Π΄Π°ΠΆΠ΅ Π΅ΡΠ»ΠΈ Π΄Π»Ρ Π½Π΅Π³ΠΎ ΠΏΠ΅ΡΠ΅Π΄Π°Π½Ρ href ΠΈΠ»ΠΈ onClick |
| lastEmpty | boolean | - |
ΠΠ°ΡΡΠΈΠ² ΠΎΠ±ΡΠ΅ΠΊΡΠΎΠ², ΠΎΠΏΠΈΡΡΠ²Π°ΡΡΠΈΡ ΠΊΠΎΠΌΠΏΠΎΠ½Π΅Π½Ρ:
type Item = {
/* Π£Π½ΠΈΠΊΠ°Π»ΡΠ½ΡΠΉ id */
id: string,
/* Π’Π΅ΠΊΡΡ */
label: string;
/* ΠΠΎΡΠΎΡΠΊΠΈΠΉ Π²Π°ΡΠΈΠ°Π½Ρ ΡΠ΅ΠΊΡΡΠ° */
shortLabel?: string;
/* Π‘ΡΡΠ»ΠΊΠ° */
href?: string;
/* ΠΠΎΠ»Π±Π΅ΠΊ ΠΎΠ±ΡΠ°Π±ΠΎΡΠΊΠΈ ΠΊΠ»ΠΈΠΊΠ° Π² Π°ΠΉΡΠ΅ΠΌ */
onClick?(): void;
}
ΠΠΎΠΌΠΏΠΎΠ½Π΅Π½ΡΡ Breadcrumbs ΠΌΠ΅ΠΌΠΎΠΈΠ·ΠΈΡΠΎΠ²Π°Π½, ΡΡΠ°ΡΠ°ΠΉΡΠ΅ΡΡ ΠΏΠ΅ΡΠ΅Π΄Π°Π²Π°ΡΡ items ΠΎΠ΄Π½ΠΎΠΉ ΠΈ ΡΠΎΠΉ ΠΆΠ΅ ΡΡΡΠ»ΠΊΠΎΠΉ.
FAQs
Did you know?

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.

Product
Bringing supply chain security to the next generation of JavaScript package managers

Product
A safer, faster way to eliminate vulnerabilities without updating dependencies

Product
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.