Skip to content

Commit

Permalink
Merge pull request #7 from Countly/type-info-1
Browse files Browse the repository at this point in the history
type info added
  • Loading branch information
ArtursKadikis authored Jan 24, 2023
2 parents d15ef02 + 041b0f7 commit 29d6af6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CountlyRNExample/CountlyButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ interface CountlyButtonProps {
title: string;
}

const CountlyButton = (props: CountlyButtonProps) => {
const CountlyButton = (props: CountlyButtonProps) : JSX.Element => {
return (
<TouchableOpacity disabled={props.disabled} style={{ ...customStyleOverrides.button, backgroundColor: props.color }} onPress={props.onPress}>
<Text style={{ ...customStyleOverrides.text, color: props.lightText ? '#FFFFFF' : '#000000' }} numberOfLines={1} adjustsFontSizeToFit={true}>
Expand Down

0 comments on commit 29d6af6

Please sign in to comment.