UNPKG

@stihl-design-system/components

Version:

Welcome to the STIHL Design System react component library.

20 lines (19 loc) 1.16 kB
import { ActionLinkProps } from './ActionLink'; export declare const ACTION_LINK_ICON_POSITION: readonly ["left", "top"]; export type ActionLinkIconPosition = (typeof ACTION_LINK_ICON_POSITION)[number]; export declare const ACTION_LINK_ICON_SIZE: readonly ["large", "x-large"]; export type ActionLinkIconSize = (typeof ACTION_LINK_ICON_SIZE)[number]; export declare const ACTION_LINK_INDENT_LEVEL: readonly [0, 1]; export type ActionLinkIndentLevel = (typeof ACTION_LINK_INDENT_LEVEL)[number]; export declare const ACTION_LINK_WEIGHT: readonly ["normal", "bold"]; export type ActionLinkWeight = (typeof ACTION_LINK_WEIGHT)[number]; type ValidationProps = Pick<ActionLinkProps, 'iconName' | 'iconSize' | 'iconSource' | 'iconPosition' | 'indentLevel' | 'stretched' | 'weight'>; /** * Performs runtime validation on a subset of `DSActionLink` props to detect * misconfigurations during development. * * Intended for development use only; should not be used in production environments. * */ export declare const validateActionLinkProps: ({ iconName, iconSize, iconSource, iconPosition, indentLevel, stretched, weight, }: ValidationProps) => void; export {};