kleros/kleros-v2

View on GitHub
web/src/components/Verdict/index.tsx

Summary

Maintainability
A
0 mins
Test Coverage
import React from "react";
import styled from "styled-components";

import DisputeTimeline from "./DisputeTimeline";
import FinalDecision from "./FinalDecision";

const Container = styled.div`
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
`;

interface IVerdict {
  arbitrable?: `0x${string}`;
}

const Verdict: React.FC<IVerdict> = ({ arbitrable }) => {
  return (
    <Container>
      <FinalDecision arbitrable={arbitrable} />
      <DisputeTimeline arbitrable={arbitrable} />
    </Container>
  );
};

export default Verdict;