0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00
wagtail/client/src/index.ts
advik 0294dd1dd1 Changed Button to Link, and removed unnecessary props
- React Button was only ever used to render a link (a element)
- This creates a potential accessibility issue if developers want to render a button, it's confusing and incorrect
- Additionally, the unused prop (dialogTrigger) & aria-haspopup is non-compliant and has been removed
2024-02-05 20:07:40 +10:00

12 lines
552 B
TypeScript

/**
* Entry point for the wagtail package.
* Re-exports components and other modules via a cleaner API.
*/
export { default as Link } from './components/Link/Link';
export { default as Icon } from './components/Icon/Icon';
export { default as LoadingSpinner } from './components/LoadingSpinner/LoadingSpinner';
export { default as Portal } from './components/Portal/Portal';
export { default as PublicationStatus } from './components/PublicationStatus/PublicationStatus';
export { default as Transition } from './components/Transition/Transition';