revenge-bundle-next/lib/components/src/Page.tsx
PalmDevs 5b3a8bc5ab
feat: see commit description
- Shim React and React Native
- Move src/components to lib/components
- Exposed lib/components to `unscoped.components`
- scipts/build: Properly set footer sourceURL
- plugins/developer-settings: Debounce searching in Asset Browser
- plugins/settings: Debounce searching in Plugins
2025-06-08 19:01:33 +07:00

19 lines
508 B
TypeScript

import { Design } from '@revenge-mod/discord/design'
import { StyleSheet } from 'react-native'
import type { DiscordModules } from '@revenge-mod/discord/types'
export default function Page(props: DiscordModules.Components.StackProps) {
return (
<Design.Stack spacing={24} style={styles.page} {...props}>
{props.children}
</Design.Stack>
)
}
const styles = StyleSheet.create({
page: {
flex: 1,
paddingHorizontal: 16,
paddingTop: 12,
},
})