UNPKG

@stihl-design-system/components

Version:

Welcome to the STIHL Design System react component library.

17 lines (16 loc) 919 B
import { HeadingSize, HeadingTag } from '../Heading/Heading.utils'; import { AccordionProps } from './Accordion'; export declare const ACCORDION_SIZE: readonly ["medium", "small", "x-small"]; export type AccordionSize = (typeof ACCORDION_SIZE)[number]; export declare const ACCORDION_OPEN_STATE_INDICATOR: readonly ["chevron", "caret"]; export type AccordionOpenStateIndicator = (typeof ACCORDION_OPEN_STATE_INDICATOR)[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 {};