This is the first sentence of the callout content.
This is the second sentence of the callout content.
*/
content?: string;
/**
* Text or HTML to be displayed as the heading of the callout. If the heading content should be displayed as HTML, the `headingContentType` needs to be set to `html`.
*/
headingContent?: string;
/**
* The type of the heading content. If no prop is passed, it will default to `string`.
* @default 'string'
*/
headingContentType: HeadingContentType;
/**
* The heading level of the callout heading.
*/
headingType?: HeadingLevelOptions;
/**
* Optional prop to choose the border colour of the callout. If none is passed, the default colour will be teal.
* @default 'teal'
*/
highlightColour?: HighlightColourOptions;
}
/**
* Ontario Card displays linked content summaries with optional media and metadata.
* For component guidance, see:
* - https://designsystem.ontario.ca/components/detail/cards.html
* - https://designsystem.ontario.ca/developer-docs/components/ontario-card/
*/
interface OntarioCard {
/**
* Provides more context as to what the card interaction is doing. This should only be used for accessibility purposes, if the card interaction requires more * * description than what the text provides. This is optional.
*/
ariaLabelText?: string;
/**
* Action link for when the card is clicked. This is optional.
*/
cardLink?: string;
/**
* Text to be displayed within the card description container. This is optional.
*/
description?: string;
/**
* Set the card's header colour. This is optional.
*/
headerColour?: HeaderColour;
/**
* The heading level that the label will be rendered as.
* @example