From 0aa16388874aaa60e5dac7b084de0dc6924609a8 Mon Sep 17 00:00:00 2001 From: Robbie Luijben <luijben@astron.nl> Date: Thu, 11 Apr 2024 09:11:47 +0000 Subject: [PATCH] feat: Export alert props and colors --- src/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index bf70041..386f431 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,5 +1,5 @@ // Can not use absolute imports here; will break distribution of types -export { default as Alert } from "./components/Alert"; +export { default as Alert, type AlertProps } from "./components/Alert"; export { default as Badge } from "./components/Badge"; export { default as Breadcrumb } from "./components/Breadcrumb"; export { default as Button } from "./components/Button"; @@ -26,3 +26,4 @@ export { default as TextArea } from "./components/TextArea"; export { default as TextInput } from "./components/TextInput"; export { default as Toggle } from "./components/Toggle"; export { default as Typography } from "./components/Typography"; +export type { baseColorType, ColorType, TextColorType } from "./components/utils/colors" \ No newline at end of file -- GitLab