diff --git a/src/components/Drawer.jsx b/src/components/Drawer.jsx index dea92efa..bb6fcaa7 100644 --- a/src/components/Drawer.jsx +++ b/src/components/Drawer.jsx @@ -42,7 +42,7 @@ export const Drawer = ({ isOpen = false, title, content, onClose, classNames = { leaveFrom="translate-x-0" leaveTo={position === "right" ? "translate-x-full" : "-translate-x-full"} > -
+
{position === "right" ? : null}
(
  • {item === submitValueItem ? ( - <> -
    - Show all results for {inputValue} + isLoading ? ( +
    +
    - - {isLoading ? ( -
    - -
    - ) : null} - + ) : null ) : ( children?.(item, highlightedIndex === index) )} @@ -212,15 +201,15 @@ export const Search = ({
  • - to navigate + navigate results - to submit + purchase details - to close + close search
  • ) : null} diff --git a/src/stories/Forms/SubmitButton.stories.js b/src/stories/Forms/SubmitButton.stories.js index 6432dd55..557a5c22 100644 --- a/src/stories/Forms/SubmitButton.stories.js +++ b/src/stories/Forms/SubmitButton.stories.js @@ -94,7 +94,6 @@ export const Default = ({ isLoading, ...rest }) => { color="danger" isLoading={showLoading} onClick={handleClick} - > Button with really long text