From 2e614a26fda0d652c2ef4dd0b1fcae52328290d8 Mon Sep 17 00:00:00 2001 From: Khac Vy Date: Tue, 21 Apr 2020 09:08:41 +0700 Subject: [PATCH] chore: #830 Update description text (#976) --- .../src/components/DropdownSelect/__stubs__/options.ts | 6 +++--- .../__tests__/__snapshots__/custom-tag.tsx.snap | 2 +- .../elements/src/components/DropdownSelect/custom-tag.tsx | 3 ++- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/packages/elements/src/components/DropdownSelect/__stubs__/options.ts b/packages/elements/src/components/DropdownSelect/__stubs__/options.ts index b16f673994..7da3a4fbc2 100644 --- a/packages/elements/src/components/DropdownSelect/__stubs__/options.ts +++ b/packages/elements/src/components/DropdownSelect/__stubs__/options.ts @@ -4,19 +4,19 @@ export const options: SelectOption[] = [ { value: 'Property', label: 'Property', - description: 'launched for a specific property from Agency Cloud. ', + description: 'launched for a specific property from Agency Cloud', link: 'https://foundations-documentation.reapit.cloud/api/desktop-api#property-1', }, { value: 'Applicant', label: 'Applicant', - description: 'launched for a specific applicant from Agency Cloud.', + description: 'launched for a specific applicant from Agency Cloud', link: 'https://foundations-documentation.reapit.cloud/api/desktop-api#applicant', }, { value: 'idCheck', label: 'Id Check', - description: 'Replace the ID Check screen in Agency Cloud.', + description: 'Replace the ID Check screen in Agency Cloud', link: 'https://foundations-documentation.reapit.cloud/api/desktop-api#id-check', }, ] diff --git a/packages/elements/src/components/DropdownSelect/__tests__/__snapshots__/custom-tag.tsx.snap b/packages/elements/src/components/DropdownSelect/__tests__/__snapshots__/custom-tag.tsx.snap index 7223a86e23..c2835ac2f3 100644 --- a/packages/elements/src/components/DropdownSelect/__tests__/__snapshots__/custom-tag.tsx.snap +++ b/packages/elements/src/components/DropdownSelect/__tests__/__snapshots__/custom-tag.tsx.snap @@ -8,7 +8,7 @@ exports[`CustomTag should match a snapshot 1`] = ` > The type of Property will be given to an application that can be launched for a specific property from Agency Cloud. - + . For more information on diff --git a/packages/elements/src/components/DropdownSelect/custom-tag.tsx b/packages/elements/src/components/DropdownSelect/custom-tag.tsx index 332bf9a8a2..e5e31e4655 100644 --- a/packages/elements/src/components/DropdownSelect/custom-tag.tsx +++ b/packages/elements/src/components/DropdownSelect/custom-tag.tsx @@ -20,7 +20,8 @@ export const CustomTag: React.FC = ({ label, description, link, placement="bottomLeft" overlay={ - {description}{' '} + {description} + {'. '} {link && ( For more information on {label}, please{' '}