🐳 chore(eslint): 修正所有文件的eslint 错误❌
This commit is contained in:
@@ -15,7 +15,7 @@ interface PropsType {
|
||||
onSelect?: (data: { id: number; name: string }) => void
|
||||
}
|
||||
|
||||
const segmentedControl: FC<PropsType> = (props) => {
|
||||
const SegmentedControl: FC<PropsType> = (props) => {
|
||||
const [selectInfo, setSelectInfo] = useState({
|
||||
selected: -1, // 当前选中的id
|
||||
tabId: '', // 需要滚动到的id
|
||||
@@ -69,4 +69,4 @@ const segmentedControl: FC<PropsType> = (props) => {
|
||||
</View>
|
||||
)
|
||||
}
|
||||
export default segmentedControl
|
||||
export default SegmentedControl
|
||||
|
||||
Reference in New Issue
Block a user