UNPKG

@limetech/lime-elements

Version:
54 lines 2.27 kB
import { CalloutType } from '../callout/callout.types'; import { Languages } from '../date-picker/date.types'; /** * Callouts—also known as Admonitions—are useful for including supportive or * special content within a large piece of text, or even inside a user * interface. * * When used in a document or text based user interface, the callout attracts * the reader's attention to a particular piece of information, without * significantly interrupting their flow of reading the document. * * In a user interface, a callout is more intrusive to the end-user. Still, it * could be a good choice when you intend to slightly disturb the user's * attention, and challenge them to pay extra attention to the information * presented. In such cases, a callout should not be used as a static and * constantly present element of the UI. Rather, it should be displayed when * something unusual or remarkable demands the user's attention. * * @exampleComponent limel-example-callout-note * @exampleComponent limel-example-callout-important * @exampleComponent limel-example-callout-tip * @exampleComponent limel-example-callout-caution * @exampleComponent limel-example-callout-warning * @exampleComponent limel-example-callout-rich-content * @exampleComponent limel-example-callout-custom-heading * @exampleComponent limel-example-callout-custom-icon * @exampleComponent limel-example-callout-styles * @exampleComponent limel-example-custom-type * @exampleComponent limel-example-callout-composite */ export declare class Callout { /** * Heading of the callout, which can be used to override the * default heading which is displayed based on the chosen `type`. */ heading?: string; /** * Icon of the callout, which can be used to override the * default icon which is displayed based on the chosen `type`. */ icon?: string; /** * Defines how the component is visualized, for example * which heading, color or icon is used in its user interface. */ type?: CalloutType; /** * Defines the language for translations. * Will translate the default headings for supported languages. */ language: Languages; render(): any; } //# sourceMappingURL=callout.d.ts.map