From 361d7095074513c7834b348df79325c989143991 Mon Sep 17 00:00:00 2001 From: Germain Date: Tue, 8 Aug 2023 16:22:31 +0100 Subject: [PATCH] Export avatar utility functions --- src/index.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/index.ts b/src/index.ts index d3d00432..14f7741d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -14,6 +14,10 @@ See the License for the specific language governing permissions and limitations under the License. */ +/** + * Export React components + */ + export { ActionControl } from "./components/ActionControl/ActionControl"; export { Alert } from "./components/Alert/Alert"; export { Avatar } from "./components/Avatar/Avatar"; @@ -40,3 +44,10 @@ export { Root } from "./components/Form/Root"; export { Submit } from "./components/Form/Submit"; export { Toggle } from "./components/Toggle/Toggle"; export { ValidityState } from "./components/Form/ValidityState"; + +/** + * Export utility functions + */ + +export { useIdColorHash } from "./components/Avatar/useIdColorHash"; +export { getInitialLetter } from "./utils/string";