diff --git a/apps/infoalloggi/src/components/facehash/facehash.tsx b/apps/infoalloggi/src/components/facehash/facehash.tsx index 260efa3..1241aa2 100644 --- a/apps/infoalloggi/src/components/facehash/facehash.tsx +++ b/apps/infoalloggi/src/components/facehash/facehash.tsx @@ -4,10 +4,10 @@ import { FACES } from "./faces"; // from https://github.com/cossistantcom/cossistant/tree/main/packages/facehash -export type Intensity3D = "none" | "subtle" | "medium" | "dramatic"; -export type Variant = "gradient" | "solid"; +type Intensity3D = "none" | "subtle" | "medium" | "dramatic"; +type Variant = "gradient" | "solid"; -export interface FacehashProps +interface FacehashProps extends Omit, "children"> { /** * String to generate a deterministic face from. diff --git a/apps/infoalloggi/src/components/facehash/faces.tsx b/apps/infoalloggi/src/components/facehash/faces.tsx index 7f3d2a9..b17947b 100644 --- a/apps/infoalloggi/src/components/facehash/faces.tsx +++ b/apps/infoalloggi/src/components/facehash/faces.tsx @@ -1,6 +1,6 @@ import type * as React from "react"; -export type FaceProps = { +type FaceProps = { className?: string; style?: React.CSSProperties; }; @@ -8,7 +8,7 @@ export type FaceProps = { /** * Round eyes face - simple circular eyes */ -export const RoundFace: React.FC = ({ className, style }) => ( +const RoundFace: React.FC = ({ className, style }) => (