MCPcopy Create free account
hub / github.com/reactstrap/reactstrap / wrapper

Function wrapper

src/__tests__/Carousel.spec.js:75–79  ·  view source on GitHub ↗
({ children })

Source from the content-addressed store, hash-verified

73 describe('transitions', () => {
74 it('should add the appropriate classes when entering right', () => {
75 const wrapper = ({ children }) => (
76 <CarouselContext.Provider value={{ direction: 'end' }}>
77 {children}
78 </CarouselContext.Provider>
79 );
80
81 const { rerender } = render(
82 <CarouselItem in={false}>the mandalorian</CarouselItem>,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…