From c7fad547f318182effee3a3976220bdeb1b1e382 Mon Sep 17 00:00:00 2001 From: Mike Donnalley Date: Tue, 17 Dec 2024 09:14:15 -0700 Subject: [PATCH] fix: export action from ux --- src/ux/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ux/index.ts b/src/ux/index.ts index 8c394c205..d9fbc1465 100644 --- a/src/ux/index.ts +++ b/src/ux/index.ts @@ -21,8 +21,10 @@ const ACTION_TYPE = 'spinner') || 'simple' +export const action = ACTION_TYPE === 'spinner' ? new Spinner() : new Simple() + export const ux = { - action: ACTION_TYPE === 'spinner' ? new Spinner() : new Simple(), + action, /** * Add color to text. * @param color color to use. Can be hex code (e.g. `#ff0000`), rgb (e.g. `rgb(255, 255, 255)`) or a standard ansi color (e.g. `red`)