import { DesignSystem } from '@ni/fast-foundation';
import { template } from '../base/template';
import { Unit } from '../base/unit';
import { voltUnitScale } from '../../utilities/unit-format/unit-scale/volt-unit-scale';
import { styles } from '../base/styles';
/**
 * Element representing units for volts
 */
export class UnitVolt extends Unit {
    constructor() {
        super();
        this.resolvedUnitScale = voltUnitScale;
    }
}
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