import { DesignSystem } from '@ni/fast-foundation';
import { unitScaleVolt } from '@ni/unit-format/unit-scale/volt';
import { template } from '../base/template';
import { Unit } from '../base/unit';
import { styles } from '../base/styles';
/**
 * Element representing units for volts
 */
export class UnitVolt extends Unit {
    constructor() {
        super();
        this.resolvedUnitScale = unitScaleVolt;
    }
}
const nimbleUnitVolt = UnitVolt.compose({
    baseName: 'unit-volt',
    template,
    styles
});
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleUnitVolt());
export const unitVoltTag = 'nimble-unit-volt';
//# sourceMappingURL=index.js.map