-
`import React, {useEffect, useState} from 'react'; import MaterialCommunityIcons from 'react-native-vector-icons/MaterialCommunityIcons'; const Demo = () => { useEffect(() => {
}, []); <DropDown labelTextStyle={{ color: 'white', }} dropDownIconColor={'white'} bannerStyle={{ backgroundColor: appColors.primary, borderColor: 'white', }} selectedValue={dropDownValue1} setterSelectedValue={e => setDropdownValue1(e)} data={genderArray} access="label" label="Custom Dropdown" placeHolder="Select Value" /> <DropDown labelTextStyle={{ color: 'white', }} dropDownIconColor={'white'} bannerStyle={{ backgroundColor: appColors.primary, borderColor: 'white', }} selectedValue={dropDownValue2} setterSelectedValue={e => setDropdownValue2(e)} data={monthsArray} access="month" isSearch label="Custom Dropdown With Search" placeHolder="Select Value" /> <ScrollView overScrollMode="auto" horizontal showsHorizontalScrollIndicator={false} contentContainerStyle={{flexDirection: 'row', alignItems: 'center'}} style={{maxHeight: 100}}> <IconButton circleSize={50} Icon={() => { return ( <AntDesign name="stepbackward" size={23} color={'white'} /> ); }} /> <IconButton circleSize={50} Icon={() => { return <AntDesign name="play" size={23} color={'white'} />; }} /> <IconButton circleSize={50} Icon={() => { return ( <AntDesign name="stepforward" size={23} color={'white'} /> ); }} /> <IconButton buttonStyle={{backgroundColor: 'green'}} circleSize={50} Icon={() => { return <Ionicons name="add" size={23} color={'white'} />; }} />
); export default Demo; `import { interface LoadingProps { const Loading = ({ export default Loading; const style = StyleSheet.create({ I keep getting this error Why |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi! I answered your question in the response to your comment under another issue. Please let me know if it helps. |
Beta Was this translation helpful? Give feedback.
-
@MatiPl01 |
Beta Was this translation helpful? Give feedback.
Hi! I answered your question in the response to your comment under another issue. Please let me know if it helps.