@julseb-lib/react 0.1.0 → 0.1.2

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.
@@ -46,7 +46,7 @@ export const Avatar: FC<ILibAvatar> = ({
46
46
  letter,
47
47
  icon,
48
48
  iconSize = roundIconSize(size),
49
- backgroundColor = "danger",
49
+ backgroundColor = "primary",
50
50
  contentColor = backgroundColor === "white"
51
51
  ? "primary"
52
52
  : backgroundColor === "black"
@@ -59,9 +59,6 @@ export const AvatarFunction: FC<IAvatarFunction> = ({
59
59
  }
60
60
  `)
61
61
 
62
- // @ts-ignore
63
- console.log(img?.fallbackBackgroundColor)
64
-
65
62
  return (
66
63
  <StyledAvatar
67
64
  data-testid={hasBadge && testid ? `${testid}.Avatar` : testid}
@@ -12,7 +12,7 @@ import type { ILibInputImage } from "./types"
12
12
  * @extends HTMLInputElement
13
13
  * @param {Object} props - InputImage props.
14
14
  * @param {string} [props.data-testid] - Test id for testing purposes.
15
- * * @param {Ref<HTMLInputElement>} [props.ref] - Ref forwarded to the input element.
15
+ * @param {Ref<HTMLInputElement>} [props.ref] - Ref forwarded to the input element.
16
16
  * @param {string} props.id - Input id.
17
17
  * @param {string} props.value - Image source value.
18
18
  * @param {string|number} [props.width=64] - Width of the image/input.