UNPKG

@stihl-design-system/components

Version:

Welcome to the STIHL Design System react component library.

14 lines (11 loc) 476 B
// common type definitions export type { BreakpointCustomizable } from '../utils/breakpoint-customizable'; export type { LinkTarget } from '../utils/link-target'; export type { Theme } from '../utils/theme'; import type { AriaAttributes } from './aria-types'; export type SelectedAriaAttributes<T extends keyof AriaAttributes> = Pick< AriaAttributes, T >; // Type that makes fields optional export type Optional<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;