react-styleguidist
Version:
React components style guide generator
11 lines (10 loc) • 330 B
TypeScript
import * as Rsg from '../../typings';
/**
* Return a copy of the given section with the examples array filtered
* to contain only the specified index
*
* @param {object} section
* @param {number} index
* @returns {object}
*/
export default function filterSectionExamples(section: Rsg.Section, index?: number): Rsg.Section;