Skip to content

Commit

Permalink
create ts types for report next steps Onyx object
Browse files Browse the repository at this point in the history
  • Loading branch information
marcochavezf committed Oct 11, 2023
1 parent 5a91cb2 commit 3355f18
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/types/onyx/ReportNextStep.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
type NextStepButton = {
text: string,
tooltip: string,
disabled: boolean,
};

type ReportNextStep = {
/** Buttons to display as the next step in the report in group policies */
buttons: {
approve: NextStepButton,
reimburse: NextStepButton,
}
};

export default ReportNextStep;

0 comments on commit 3355f18

Please sign in to comment.