From 69e4ee3e3acef87bb27972b34a13b9f004ec3571 Mon Sep 17 00:00:00 2001 From: Matt McCorry Date: Sat, 1 May 2021 11:28:52 +0100 Subject: [PATCH 1/2] fix doc typo --- src/components/modal/modal.story.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/modal/modal.story.mdx b/src/components/modal/modal.story.mdx index de853f9a..b93b0ed5 100644 --- a/src/components/modal/modal.story.mdx +++ b/src/components/modal/modal.story.mdx @@ -11,7 +11,7 @@ A basic modal with overlay where you can add any content you want The modal structure is very simple: -- ``: Rhe main container +- ``: The main container - ``: a horizontally and vertically centered container, with a maximum width of 640px, in which you can include any content - ``: A more classic modal with head, body and footer - `` The header of the modal, here you can use the `Modal.Card.Title` component, or your own custom component From b7b992606ffa637d4446cc49217d3810636b1b07 Mon Sep 17 00:00:00 2001 From: Matt McCorry Date: Thu, 3 Jun 2021 19:41:32 +0100 Subject: [PATCH 2/2] made dropdown disabled prop optional --- src/components/dropdown/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/dropdown/index.d.ts b/src/components/dropdown/index.d.ts index 5d8b6c15..11a12efb 100644 --- a/src/components/dropdown/index.d.ts +++ b/src/components/dropdown/index.d.ts @@ -13,7 +13,7 @@ interface DropdownProps { up?: boolean; align?: 'right'; icon?: React.ReactNode; - disabled: boolean; + disabled?: boolean; } interface DropdownItemProps {