mirror of
https://github.com/selfxyz/self.git
synced 2026-04-05 03:00:53 -04:00
* Simplify alias config * Restore export sorting overrides * save migration pattern * alias last minute updates * fix tests * improved import sorting * Implement typed event emitter (#869) * Implement typed event emitter * cr suggestion
27 lines
756 B
TypeScript
27 lines
756 B
TypeScript
// SPDX-License-Identifier: BUSL-1.1; Copyright (c) 2025 Social Connect Labs, Inc.; Licensed under BUSL-1.1 (see LICENSE); Apache-2.0 from 2029-06-11
|
|
|
|
import React from 'react';
|
|
import { StyleSheet, View } from 'react-native';
|
|
|
|
import { shouldShowAesopRedesign } from '@/hooks/useAesopRedesign';
|
|
|
|
interface ButtonsContainerProps {
|
|
children: React.ReactNode;
|
|
}
|
|
|
|
const ButtonsContainer = ({ children }: ButtonsContainerProps) => {
|
|
return <View style={styles.buttonsContainer}>{children}</View>;
|
|
};
|
|
|
|
export default ButtonsContainer;
|
|
|
|
const styles = StyleSheet.create({
|
|
buttonsContainer: {
|
|
display: 'flex',
|
|
flexDirection: shouldShowAesopRedesign() ? 'row' : 'column',
|
|
justifyContent: 'center',
|
|
alignItems: 'center',
|
|
gap: 10,
|
|
},
|
|
});
|