You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
4 lines
138 B
TypeScript
4 lines
138 B
TypeScript
1 year ago
|
export default function frame(id: string, body: string): string {
|
||
|
return /* HTML */ `<turbo-frame id="${id}"> ${body} </turbo-frame>`;
|
||
|
}
|