Catalogue element
bry-diff
A pull request change.
Settings
| Setting | Takes | Needed |
|---|---|---|
files | a list of at most 300: a record of path, previous, status, patch (needs path) | yes |
label | text, at most 200 characters | no |
loading | true or false | no |
empty | text, at most 200 characters | no |
Example
JSX
<bry-diff label={"Changes"} files={[{"path":"src/auth.ts","status":"modified","patch":"@@ -10,3 +10,4 @@\n const user = await find(email);\n- if (!user) return null;\n+ if (!user) throw new NotFound();\n return user;\n"}]} />Renderer contact sheet
These paths will hold the checked light and dark captures.

