revdev-components 0.252.0 → 0.253.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { LevelGen } from "src/interfaces";
|
|
3
3
|
export interface LevelLetterBadgeProps {
|
|
4
|
-
|
|
4
|
+
levels: LevelGen | LevelGen[] | string;
|
|
5
5
|
className?: string;
|
|
6
6
|
activeCode?: string;
|
|
7
7
|
title?: (param: LevelGen) => string;
|
package/build/index.js
CHANGED
|
@@ -6139,7 +6139,7 @@ var LevelBarBadge = function (_a) {
|
|
|
6139
6139
|
var s$3 = {"root":"index-module_root__ogwMI","level":"index-module_level__EuETi","level__active":"index-module_level__active__lfzHe"};
|
|
6140
6140
|
|
|
6141
6141
|
var LevelLetterBadge = function (_a) {
|
|
6142
|
-
var value = _a.
|
|
6142
|
+
var value = _a.levels, className = _a.className, activeCode = _a.activeCode, title = _a.title;
|
|
6143
6143
|
var levels = React.useMemo(function () {
|
|
6144
6144
|
if (typeof value === "string") {
|
|
6145
6145
|
return [{ code: value }];
|
package/build/styles.css
CHANGED