2
0

feat(bot): 💄 Responsive rating input

This commit is contained in:
Baptiste Arnaud
2022-06-20 15:13:11 +02:00
parent 6938533126
commit 49bf178090
5 changed files with 32 additions and 52 deletions

View File

@ -7,6 +7,7 @@ type Props = {
export const RatingInputContent = ({ block }: Props) => (
<Text noOfLines={1} pr="6">
Rate from 1 to {block.options.length}
Rate from {block.options.buttonType === 'Icons' ? 1 : 0} to{' '}
{block.options.length}
</Text>
)