mirror of
https://github.com/selfxyz/self.git
synced 2026-01-13 00:28:17 -05:00
* chore: centralize license header scripts * chore: run license header checks from root * add header to other files * add header to bundle * add migration script and update check license headers * convert license to mobile sdk * migrate license headers * remove headers from common; convert remaining * fix headers * add license header checks
30 lines
780 B
TypeScript
30 lines
780 B
TypeScript
// SPDX-FileCopyrightText: 2025 Social Connect Labs, Inc.
|
|
// SPDX-License-Identifier: BUSL-1.1
|
|
// NOTE: Converts to Apache-2.0 on 2029-06-11 per LICENSE.
|
|
|
|
import React from 'react';
|
|
import { createRoot } from 'react-dom/client';
|
|
import { TamaguiProvider, View } from 'tamagui';
|
|
|
|
import App from '../App';
|
|
import tamaguiConfig from '../tamagui.config.ts';
|
|
|
|
import 'react-native-get-random-values';
|
|
import './fonts.css';
|
|
import './reset.css';
|
|
|
|
const Root = () => (
|
|
<TamaguiProvider config={tamaguiConfig}>
|
|
<View flex={1} height="100vh" width="100%">
|
|
<App />
|
|
</View>
|
|
</TamaguiProvider>
|
|
);
|
|
|
|
// Create root element and render the app
|
|
const container = document.getElementById('root');
|
|
if (container) {
|
|
const root = createRoot(container);
|
|
root.render(<Root />);
|
|
}
|