Skip to content

Commit

Permalink
Restore belong.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
1989ONCE authored Jan 20, 2025
1 parent c6c7d4c commit 25d4149
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/pages/select/belong.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const belongOptions = [

interface BelongContentProps {
interface BelongContentProps {
onNext: (value: string) => void; // 定义 onNext 是一个接收字符串参数、无返回值的函数
onNext: () => void; // 定义 onNext 是一个接收字符串参数、无返回值的函数
}

interface SelectionOption {
Expand Down Expand Up @@ -46,4 +46,4 @@ const SelectionContent: React.FC<SelectionContentProps> = ({options, onSelect})

export default function BelongContent({onNext}: BelongContentProps) {
return <SelectionContent options={belongOptions} onSelect={onNext} />;
}
}

0 comments on commit 25d4149

Please sign in to comment.