UNPKG

@stihl-design-system/components

Version:

Welcome to the STIHL Design System react component library.

15 lines (14 loc) 733 B
import { HeadingSize, HeadingTag } from '../Heading/Heading.utils'; import { AccordionProps } from './Accordion'; export declare const ACCORDION_SIZE: readonly ["medium", "small"]; export type AccordionSize = (typeof ACCORDION_SIZE)[number]; export declare const CHEVRON_POSITION: readonly ["left", "right"]; export type ChevronPosition = (typeof CHEVRON_POSITION)[number]; export type Summary = string | { headingText: string; headingSize?: HeadingSize; headingTag?: HeadingTag; }; type ValidationProps = Pick<AccordionProps, 'children' | 'hint' | 'numberIndicatorValue' | 'summary'>; export declare const validateAccordionProps: ({ children, hint, numberIndicatorValue, summary, }: ValidationProps) => void; export {};