1import React from 'react';
2import cn from 'classnames';
3import { Nothing } from 'folktale/maybe';
11 const _available = available.getOrElse(1);
12 const _sent = sent.getOrElse(0);
13 const _accepted = accepted.getOrElse(0);
14 const total = _available + _sent;
16 <div className={cn('h7 p1 b1 b-black flex', className)}>
19 style={{ width: `${(_accepted / total) * 100}%` }}></div>
21 className="bg-yellow4"
22 style={{ width: `${((_sent - _accepted) / total) * 100}%` }}></div>
24 <div className="flex-grow" />
29export default BarGraph;
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list