Skip to content

Commit 73d7c5d

Browse files
feat(styles): add textAlign to VoltraTextStyle
Add textAlign property to VoltraTextStyle type definition, aligning TypeScript types with existing native iOS support for text alignment in Timer and Text components. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
1 parent 8f7efe5 commit 73d7c5d

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/styles/types.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,10 @@ export type VoltraViewStyle = Pick<
4444
}
4545

4646
export type VoltraTextStyle = VoltraViewStyle &
47-
Pick<RNTextStyle, 'fontSize' | 'fontWeight' | 'color' | 'letterSpacing' | 'fontVariant' | 'textDecorationLine'>
47+
Pick<
48+
RNTextStyle,
49+
'fontSize' | 'fontWeight' | 'color' | 'letterSpacing' | 'fontVariant' | 'textDecorationLine' | 'textAlign'
50+
>
4851

4952
export type VoltraStyleProp = StyleProp<VoltraViewStyle>
5053
export type VoltraTextStyleProp = StyleProp<VoltraTextStyle>

0 commit comments

Comments
 (0)