2025-05-10 18:17:47 +07:00
|
|
|
import { Design } from '@revenge-mod/discord/design'
|
2025-05-10 02:10:15 +07:00
|
|
|
import type { DiscordModules } from '@revenge-mod/discord/types'
|
|
|
|
|
import { ReactNative } from '@revenge-mod/react'
|
|
|
|
|
|
|
|
|
|
export default function Page(props: DiscordModules.Components.StackProps) {
|
|
|
|
|
return (
|
2025-05-10 18:17:47 +07:00
|
|
|
<Design.Stack style={styles.page} spacing={24} {...props}>
|
2025-05-10 02:10:15 +07:00
|
|
|
{props.children}
|
2025-05-10 18:17:47 +07:00
|
|
|
</Design.Stack>
|
2025-05-10 02:10:15 +07:00
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const styles = ReactNative.StyleSheet.create({
|
|
|
|
|
page: {
|
|
|
|
|
flex: 1,
|
|
|
|
|
paddingHorizontal: 16,
|
|
|
|
|
paddingTop: 12,
|
|
|
|
|
},
|
|
|
|
|
})
|