App
App Props
Name
Type
Default
Description
Examples
<template>
<!-- App component ideally should be the main root component -->
<i-app theme="ios" safe-areas>
<!-- rest of UI components -->
</i-app>
</template>
<script>
import { iApp } from 'ina-ui/vue';
export default {
components: {
iApp,
},
};
</script>import React from 'react';
import { App } from 'ina-ui/react';
export default function MyApp() {
return (
<>
{/* App component ideally should be the main root component */}
<App theme="ios" safeAreas>
{/* rest of UI components */}
</App>
</>
);
}Last updated
