File tree Expand file tree Collapse file tree 3 files changed +18
-1
lines changed Expand file tree Collapse file tree 3 files changed +18
-1
lines changed Original file line number Diff line number Diff line change 610
610
"source" : " https://github.com/primer/view_components/tree/main/app/components/primer/alpha/banner.rb" ,
611
611
"lookbook" : " https://primer.style/view-components/lookbook/inspect/primer/alpha/banner/default/" ,
612
612
"parameters" : [
613
+ {
614
+ "name" : " tag" ,
615
+ "type" : " Symbol" ,
616
+ "default" : " `:div`" ,
617
+ "description" : " One of `:div` or `:section`."
618
+ },
613
619
{
614
620
"name" : " full" ,
615
621
"type" : " Boolean" ,
Original file line number Diff line number Diff line change 164
164
"success" : " check-circle"
165
165
},
166
166
"DEFAULT_SCHEME" : " default" ,
167
+ "DEFAULT_TAG" : " div" ,
167
168
"DISMISS_SCHEMES" : [
168
169
" none" ,
169
170
" remove" ,
180
181
"warning" : " Banner--warning" ,
181
182
"danger" : " Banner--error" ,
182
183
"success" : " Banner--success"
183
- }
184
+ },
185
+ "TAG_OPTIONS" : [
186
+ " div" ,
187
+ " section"
188
+ ]
184
189
},
185
190
"Primer::Alpha::ButtonMarketing" : {
186
191
"DEFAULT_SCHEME" : " default" ,
Original file line number Diff line number Diff line change 2243
2243
"source" : " https://github.com/primer/view_components/tree/main/app/components/primer/alpha/banner.rb" ,
2244
2244
"lookbook" : " https://primer.style/view-components/lookbook/inspect/primer/alpha/banner/default/" ,
2245
2245
"parameters" : [
2246
+ {
2247
+ "name" : " tag" ,
2248
+ "type" : " Symbol" ,
2249
+ "default" : " `:div`" ,
2250
+ "description" : " One of `:div` or `:section`."
2251
+ },
2246
2252
{
2247
2253
"name" : " full" ,
2248
2254
"type" : " Boolean" ,
You can’t perform that action at this time.
0 commit comments