From 81b1e0e05919eb368a66aef47adcf7738af76f29 Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Fri, 29 Sep 2023 11:47:06 +0200
Subject: refactor(components): rewrite Spinner component

* Message should be set as children
* Default message is no longer available (depending on use case, the
consumer might prefer aria-label instead)
* It is now possible to define the message position
---
 .../atoms/images/icons/svg-paths/icons-paths/arrow-icon-paths.tsx      | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'src/components/atoms/images/icons/svg-paths/icons-paths/arrow-icon-paths.tsx')

diff --git a/src/components/atoms/images/icons/svg-paths/icons-paths/arrow-icon-paths.tsx b/src/components/atoms/images/icons/svg-paths/icons-paths/arrow-icon-paths.tsx
index ee29d5d..0dc701a 100644
--- a/src/components/atoms/images/icons/svg-paths/icons-paths/arrow-icon-paths.tsx
+++ b/src/components/atoms/images/icons/svg-paths/icons-paths/arrow-icon-paths.tsx
@@ -1,7 +1,8 @@
 /* eslint-disable react/jsx-no-literals */
 import type { FC } from 'react';
+import type { Position } from '../../../../../types';
 
-export type ArrowOrientation = 'top' | 'right' | 'bottom' | 'left';
+export type ArrowOrientation = Exclude<Position, 'center'>;
 
 const getArrowBarPathFrom = (orientation: ArrowOrientation) => {
   switch (orientation) {
-- 
cgit v1.2.3

