Extract share button text
This commit is contained in:
parent
61d34186f1
commit
d9419c410f
2 changed files with 3 additions and 2 deletions
|
@ -9,6 +9,7 @@ import {
|
|||
STATISTICS_TITLE,
|
||||
GUESS_DISTRIBUTION_TEXT,
|
||||
NEW_WORD_TEXT,
|
||||
SHARE_TEXT,
|
||||
} from '../../constants/strings'
|
||||
|
||||
type Props = {
|
||||
|
@ -70,7 +71,7 @@ export const StatsModal = ({
|
|||
handleShare()
|
||||
}}
|
||||
>
|
||||
Share
|
||||
{SHARE_TEXT}
|
||||
</button>
|
||||
</div>
|
||||
)}
|
||||
|
|
|
@ -12,7 +12,7 @@ export const DELETE_TEXT = 'Delete'
|
|||
export const STATISTICS_TITLE = 'Statistics'
|
||||
export const GUESS_DISTRIBUTION_TEXT = 'Guess Distribution'
|
||||
export const NEW_WORD_TEXT = 'New word in'
|
||||
|
||||
export const SHARE_TEXT = 'Share'
|
||||
export const TOTAL_TRIES_TEXT = 'Total tries'
|
||||
export const SUCCESS_RATE_TEXT = 'Success rate'
|
||||
export const CURRENT_STREAK_TEXT = 'Current streak'
|
||||
|
|
Loading…
Add table
Reference in a new issue