// Copyright 2017-2026 @pezkuwi/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { Validator } from '../../types.js'; import React from 'react'; import { useToggle } from '@pezkuwi/react-hooks'; import Bottom from '../Active/Row/Bottom.js'; import Middle from '../Active/Row/Middle.js'; import Top from '../Active/Row/Top.js'; interface Props { className?: string; toggleFavorite: (stashId: string) => void; validator: Validator; } interface PropsExpanded { className?: string; validator: Validator; } function EntryExpanded ({ className = '' }: PropsExpanded): React.ReactElement { return ; } function Entry ({ className = '', toggleFavorite, validator }: Props): React.ReactElement { const [isExpanded, toggleExpanded] = useToggle(); return ( <> ); } export default React.memo(Entry);