Adding the calculator base with types and the first calculator (CockCroft Gault Equation)
This commit is contained in:
14
src/app/utils/calculators/registry.ts
Normal file
14
src/app/utils/calculators/registry.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { cockcroftGault } from "./miscellaneous/cockcroft-gault-eq";
|
||||
import { Section } from "./types";
|
||||
|
||||
export const CalculatorRegistry : Record<string, Section> = {
|
||||
miscellaneous:{
|
||||
id:"miscellaneous",
|
||||
displayName:"Miscellaneous",
|
||||
textColor:"#ccc",
|
||||
svg:"",
|
||||
calculators:[
|
||||
cockcroftGault
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user