govuk-angular
Version:
Angular components port of govuk-frontend nunjucks macros.
20 lines (19 loc) • 574 B
TypeScript
export interface Fieldset {
/**
* @description
* One or more element IDs to add to the aria-describedby attribute
* used to provide additional descriptive information for screenreader users
*/
describedBy?: string;
/** Classes to add to the fieldset container */
classes: string;
/** Optional ARIA role attribute */
role?: string;
}
export declare const emptyFieldSet: () => Fieldset;
export interface Legend {
text: string;
classes: string;
isPageHeading: boolean;
}
export declare const emptyLegend: () => Legend;