You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an array of strings to display on the carousel for the subtitle prop, and it throws an error.
It runs in the production fine, but was wondering if the library can support the array of strings for title and subtitle.
Thank you!
The text was updated successfully, but these errors were encountered:
You can handle selecting one of the array items yourself when using the component. It only displays one title and subtitle at a time so it makes sense to keep the props as single strings imho.
I use it like so where the title displays the date and the subtitle has to display multiple data at once (calories and the foods). I would like to customize the look of the subtitles to better display the information.
Therefore I get this error: index.js:1 Warning: Failed prop type: Invalid prop 'subtitle' of type 'object' supplied to 'Slide', expected 'string'.
I have an array of strings to display on the carousel for the
subtitle
prop, and it throws an error.It runs in the production fine, but was wondering if the library can support the array of strings for
title
andsubtitle
.Thank you!
The text was updated successfully, but these errors were encountered: