- 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
19 lines
508 B
TypeScript
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,
|
|
},
|
|
})
|