diff --git a/src/elements/public/Donation/Donation.stories.mdx b/src/elements/public/Donation/Donation.stories.mdx index 98c4f63b..32dffe3d 100644 --- a/src/elements/public/Donation/Donation.stories.mdx +++ b/src/elements/public/Donation/Donation.stories.mdx @@ -131,7 +131,7 @@ Quite often it's suitable to ask users for a donation amount outside of the list ## Adding designations -Sometimes you might want to ask your donors to pick a cause to contribute to, which can be particularly useful if your organization has multiple donation-sponsored programs. To display a designation picker, provide the list of choices in the `designations` attribute value in form of a JSON array like this: `designations=["Medical Care", "Daily Meals", "Housing"]`. You can also pre-select a specific designation by setting the `designation` attribute: `designation="Daily Meals"`. +Sometimes you might want to ask your donors to pick a cause to contribute to, which can be particularly useful if your organization has multiple donation-sponsored programs. To display a designation picker, provide the list of choices in the `designations` attribute value in form of a JSON array like this: `designations=["Medical Care", "Daily Meals", "Housing"]`. You can also pre-select a specific designation by setting the `designation` attribute: `designation='"Daily Meals"'`. Note that we are using single and double quotes here because this attribute is parsed as JSON. You can aggregate multiple designation under categories, for example: `designations='["Medical Care", ["Nutrition", ["Daily Meals", "Infant Nutrition Aid", "Elderly Nutrition Suplement"]], "Housing"]'`. @@ -141,7 +141,7 @@ If an aggregated designation is to be the default choice, set the `designation` mdxSource={dedent`