Skip to content

Commit

Permalink
feat: Fixed the day button size
Browse files Browse the repository at this point in the history
  • Loading branch information
emirdeliz committed Sep 7, 2023
1 parent 88a0d5d commit 4f2c184
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rn-calendar-simple",
"version": "1.0.1",
"version": "1.0.2",
"description": "React Native Calendar",
"author": "Emir Marques - <emirdeliz@gmail.com>",
"main": "src/Calendar.tsx",
Expand Down
4 changes: 4 additions & 0 deletions src/components/Button/Button.style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ import { ButtonProps } from './Button';

export const Button = styled.TouchableOpacity<ButtonProps>`
opacity: ${({ disabled }) => (disabled ? 0.3 : 1)};
flex: 1;
width: 100%;
align-items: center;
justify-content: center;
`;

export const Label = styled.Text<{ fontWeight?: 'bold' | 'normal' }>`
Expand Down

0 comments on commit 4f2c184

Please sign in to comment.