import type { ReactNode, RefObject } from 'react'; export interface KeyListContainerProps { keys: unknown[]; children?: ReactNode; ref?: RefObject; } export function KeyListContainer({ keys, children, ref }: KeyListContainerProps) { const count = keys.length; return (
{count > 0 && ( )} {count === 0 &&

还没有添加密钥。

}
); }