mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-02 14:18:12 +08:00
934cc5c69b
* Added TS. Updated build and linting config. Added types. * [ts-migrate][.] Rename files from JS/JSX to TS/TSX Co-authored-by: ts-migrate <> * [ts-migrate][.] Run TS Migrate Co-authored-by: ts-migrate <> * Corrected files mangled by ts-migrate. * Updated lint config, minor linting. * Re-enabled Husky. * Updated tests and config. * Reverted webpack devtool config. * Removed obsolete snapshots. * Added annotations snap. * Updated tsconfig includes wrt linting. * Removed ts-migrate. Co-authored-by: Timmy Huang <tihuan@users.noreply.github.com>
7 lines
251 B
TypeScript
7 lines
251 B
TypeScript
export const margin = { top: 40, right: 5, bottom: 20, left: 60 };
|
|
export const width = 340;
|
|
export const height = 340 - margin.top - margin.bottom;
|
|
export const innerHeight = height - 2;
|
|
|
|
export const devicePixelRatio = window.devicePixelRatio || 1;
|