@cerberus-design/react
Version:
The Cerberus Design React component library.
1 lines • 985 B
Source Map (JSON)
{"version":3,"sources":["../../../src/config/types.ts"],"sourcesContent":["import type { ElementType } from 'react'\n\n/**\n * This module contains the types for the Cerberus React configuration.\n * @module config.types\n */\n\nexport interface SystemConfig {\n /**\n * The icons that will be used in Cerberus React components.\n */\n icons: Required<DefinedIcons>\n}\n\nexport interface DefinedIcons<T extends IconType = IconType> {\n accordionIndicator: T\n avatar: T\n calendar: T\n calendarPrev: T\n calendarNext: T\n checkbox?: T\n close: T\n confirmModal: T\n delete: T\n promptModal: T\n waitingFileUploader: T\n fileUploader?: T\n indeterminate?: T\n infoNotification: T\n successNotification: T\n warningNotification: T\n dangerNotification: T\n invalid: T\n invalidAlt: T\n redo: T\n selectArrow: T\n selectChecked: T\n toggleChecked: T\n}\n\n// types\n\nexport type IconType = ElementType\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}