mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
19 lines
346 B
TypeScript
19 lines
346 B
TypeScript
import { h, defineComponent } from 'vue';
|
|
|
|
export const IonPage = defineComponent({
|
|
name: 'IonPage',
|
|
setup(_, { attrs, slots }) {
|
|
return () => {
|
|
return h(
|
|
'div',
|
|
{
|
|
['class']: 'ion-page',
|
|
...attrs,
|
|
ref: 'ionPage'
|
|
},
|
|
slots.default && slots.default()
|
|
)
|
|
}
|
|
}
|
|
});
|