react-native-scrollable-tab-view icon indicating copy to clipboard operation
react-native-scrollable-tab-view copied to clipboard

View add tabLabel props,ts will output an error,View not have this props,how to fix

Open lvan-zhang opened this issue 4 years ago • 1 comments

image <View tabLabel="">

lvan-zhang avatar Sep 16 '21 04:09 lvan-zhang

import React, {FC} from 'react'
import {View, ViewProps} from 'react-native'

interface TabProps extends ViewProps {
  tabLabel: string;
}
export const TabView: FC<TabProps> = ({tabLabel, ...props}) => (
  <View {...props} />
)

Brettm12345 avatar Sep 23 '21 14:09 Brettm12345