Skip to content

Commit

Permalink
feat: added button export and added test
Browse files Browse the repository at this point in the history
  • Loading branch information
wootsbot committed Dec 23, 2023
1 parent f7a027c commit 692cf91
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/few-clouds-confess.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@design-blocks/unstyled": minor
---

added button export and added test
3 changes: 2 additions & 1 deletion packages/@blocks-unstyled/src/Button/ButtonLabel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ export function ButtonLabel({ nativeID: nativeIDProp, testID: testIDProp, style,
);
}

const FONT_SIZE = 16;
const styles = StyleSheet.create({
root: {
fontSize: 16,
fontSize: FONT_SIZE,
textAlign: 'center',
...Platform.select({
android: {
Expand Down

0 comments on commit 692cf91

Please sign in to comment.