Last change
on this file since e29cc2e was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
311 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | "use strict";
|
---|
| 2 |
|
---|
| 3 | Object.defineProperty(exports, "__esModule", {
|
---|
| 4 | value: true
|
---|
| 5 | });
|
---|
| 6 | exports.default = _default;
|
---|
| 7 |
|
---|
| 8 | function _default(value) {
|
---|
| 9 | const lowerCasedValue = value.toLowerCase();
|
---|
| 10 | return lowerCasedValue === 'normal' ? '400' : lowerCasedValue === 'bold' ? '700' : value;
|
---|
| 11 | }
|
---|
| 12 |
|
---|
| 13 | module.exports = exports.default; |
---|
Note:
See
TracBrowser
for help on using the repository browser.