[ci] format
This commit is contained in:
parent
296fff2cff
commit
58b78229c1
1 changed files with 5 additions and 1 deletions
|
@ -435,7 +435,11 @@ function internalSpreadAttributes(values: Record<any, any>, shouldEscape = true)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Adds support for `<Component {...value} />
|
// Adds support for `<Component {...value} />
|
||||||
export function spreadAttributes(values: Record<any, any>, name: string, { class: scopedClassName }: { class?: string } = {}) {
|
export function spreadAttributes(
|
||||||
|
values: Record<any, any>,
|
||||||
|
name: string,
|
||||||
|
{ class: scopedClassName }: { class?: string } = {}
|
||||||
|
) {
|
||||||
let output = '';
|
let output = '';
|
||||||
// If the compiler passes along a scoped class, merge with existing props or inject it
|
// If the compiler passes along a scoped class, merge with existing props or inject it
|
||||||
if (scopedClassName) {
|
if (scopedClassName) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue