react-conditional-rendering
Version:
A React component library that helps in conditional rendering.
7 lines (6 loc) • 383 B
JavaScript
// In this file we explicity export everything. This is just to be thorough
// and explicit. This thorough exporting method can seem like a lot, but it
// allows for simpler scaling when your library grows in size, and even adds
// different tech like TypeScript
export { default as RenderIf } from './RenderIf';
export { default as RenderComponent } from './RenderComponent';