UNPKG

react-slottable

Version:

Package that allows to turn react components into slottable ones

6 lines (5 loc) 332 B
export { default as withSlots } from './hocs/withSlots'; export { default as SlotProvider, SlotContext } from './providers/SlotProvider'; export { default as Slot } from './components/Slot'; export { default as useSlots } from './hooks/useSlots'; export type { StandardSlotsProps as SlotsProps, Slottable } from './hocs/withSlots';