xref: /MusicFree/src/constants/globalStyle.ts (revision 75d76114aff0fdc73e1194e45451b5011b83e6ae)
14ddc4470S猫头猫import {StyleSheet} from 'react-native';
24ddc4470S猫头猫
34ddc4470S猫头猫const globalStyle = StyleSheet.create({
44ddc4470S猫头猫    /** flex 1 */
54ddc4470S猫头猫    flex1: {
64ddc4470S猫头猫        flex: 1,
74ddc4470S猫头猫    },
84ddc4470S猫头猫    /** 满宽度 flex1 */
94ddc4470S猫头猫    fwflex1: {
104ddc4470S猫头猫        width: '100%',
114ddc4470S猫头猫        flex: 1,
124ddc4470S猫头猫    },
13*75d76114S猫头猫    /** 居中 */
14*75d76114S猫头猫    fullCenter: {
15*75d76114S猫头猫        width: '100%',
16*75d76114S猫头猫        flex: 1,
17*75d76114S猫头猫        justifyContent: 'center',
18*75d76114S猫头猫        alignItems: 'center',
19*75d76114S猫头猫    },
203b155a65S猫头猫} as const);
214ddc4470S猫头猫
224ddc4470S猫头猫export default globalStyle;
23