DEV: Add td to the element helper list (#27106)

…so it uses the more performant glimmer/template-only component wrapper instead of falling back to an ember component wrapper. see the `element` helper PR for more details.
This commit is contained in:
Jarek Radosz 2024-05-21 18:59:50 +02:00 committed by GitHub
parent 06f48a82ed
commit 5678332ffb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,6 +9,7 @@ const shortcuts = {
form: <template><form ...attributes>{{yield}}</form></template>,
a: <template><a ...attributes>{{yield}}</a></template>,
button: <template><button ...attributes>{{yield}}</button></template>,
td: <template><td ...attributes>{{yield}}</td></template>,
};
/**