🌐 AI搜索 & 代理 主页
Skip to content

Commit 181bc4a

Browse files
authored
Update package.json
1 parent e9e3bd5 commit 181bc4a

File tree

1 file changed

+59
-3
lines changed

1 file changed

+59
-3
lines changed

src/components/navbar/package.json

Lines changed: 59 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,70 @@
1010
"CollapsePlugin"
1111
],
1212
"components": [
13-
"BNavbar",
14-
"BNavbarNav",
15-
"BNavbarBrand",
13+
{
14+
"component": "BNavbar",
15+
"props": [
16+
{
17+
"prop": "type",
18+
"description": "Control the text color by setting to 'light' for use with light background color variants, or 'dark' for dark background color variants"
19+
},
20+
{
21+
"prop": "toggleable",
22+
"description": "Ste to 'true' for an always collsapsed navbar, or to a specific breakpoint at whih point the navbar will be expanded: 'sn', 'ms', 'lg' or 'xl'"
23+
},
24+
{
25+
"prop": "fixed",
26+
"description": "Set to 'top' for fixed to the top of the viewport, or 'bottom' for fixed to the bottom of the viewport"
27+
},
28+
{
29+
"prop": "sticky",
30+
"description": "Set to true to make the navbar stick to the top of the viewport (or parent container that has 'position: relative' set) when scrolled"
31+
},
32+
{
33+
"prop": "print",
34+
"description": "Navbars are hidden by default when printing. When this prop is set it will be printed"
35+
}
36+
]
37+
},
38+
{
39+
"component": "BNavbarNav",
40+
"props": [
41+
{
42+
"prop": "small",
43+
"description": "Makes the nav smaller"
44+
},
45+
{
46+
"prop": "align",
47+
"description": "Align the nav items in the nav: 'start' (or 'left'), 'center', 'end' (or 'right')"
48+
},
49+
{
50+
"prop": "fill",
51+
"description": "Proportionately fills all horizontal space with nav items. All horizontal space is occupied, but not every nav item has the same width"
52+
},
53+
{
54+
"prop": "justified",
55+
"description": "Fills all horizontal space with nav items, but unlike 'fill', every nav item will be the same width"
56+
}
57+
]
58+
},
59+
{
60+
"component": "BNavbarBrand"
61+
},
1662
{
1763
"component": "BNavbarToggle",
1864
"aliases": [
1965
"BNavToggle"
2066
],
67+
"props": [
68+
{
69+
"prop": "target",
70+
"description": "ID of the collapse the toggle controls"
71+
},
72+
{
73+
"prop": "label",
74+
"description": "String to place in the toggle's 'aria-label' attribute"
75+
}
76+
],
2177
"events": [
2278
{
2379
"event": "click",

0 commit comments

Comments
 (0)