-
-
Notifications
You must be signed in to change notification settings - Fork 97
Closed
Description
Unable to override symbols using custom translation text. I couldn't find any examples to do so based on the new definition of symbols object. This is the best I could think of.
const symbols = {
iec: { bits: [], bytes: [] },
jedec: {
bits: [],
bytes: [
"bytes",
"KB",
"MB",
"GB",
]
}
};
const size = partial({ symbols: symbols, base: 2, standard: "jedec" });
return size(value || 0);
Metadata
Metadata
Assignees
Labels
No labels