import { SpoonCommitList } from './spoon-commit-list';

export const SpoonDetailUpstream = ({
  commits,
}: {
  commits: Parameters<typeof SpoonCommitList>[0]['commits'];
}) => (
  <SpoonCommitList
    commits={commits}
    emptyDescription='Upstream commits waiting for this fork will appear after refresh.'
    emptyTitle='No upstream commits cached'
    showOpenButton
  />
);
