mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-06-13 10:59:37 +00:00
11 lines
326 B
JavaScript
11 lines
326 B
JavaScript
import React from "react";
|
|
import style from "./approval.less";
|
|
|
|
export const Approval = ({ onapprove, ondecline }) => (
|
|
<div className={style.root}>
|
|
<p>Pipeline execution is blocked pending administrator approval</p>
|
|
<button onClick={onapprove}>Approve</button>
|
|
<button onClick={ondecline}>Decline</button>
|
|
</div>
|
|
);
|