Initial frontend repository commit.

Include app source and update .gitignore to exclude local release artifacts and signing files.

Made-with: Cursor
This commit is contained in:
2026-03-09 21:29:03 +08:00
commit 3968660048
129 changed files with 55599 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
/**
* Divider 分割线组件
* 用于分隔内容
*/
import React from 'react';
import { View, StyleSheet, ViewStyle } from 'react-native';
import { colors, spacing } from '../../theme';
interface DividerProps {
margin?: number;
color?: string;
style?: ViewStyle;
}
const Divider: React.FC<DividerProps> = ({
margin = spacing.lg,
color = colors.divider,
style,
}) => {
return (
<View
style={[
styles.divider,
{ marginVertical: margin, backgroundColor: color },
style,
]}
/>
);
};
const styles = StyleSheet.create({
divider: {
height: 1,
width: '100%',
},
});
export default Divider;