UNPKG

accelerator-core

Version:

[![Build Status](https://travis-ci.org/furkleindustries/accelerator-core.svg?branch=master)](https://travis-ci.org/furkleindustries/accelerator-core)

22 lines (17 loc) 475 B
# Permutation A component which presents a permutation (a shuffled copy) of the pieces of input content. ## Example ```javascript <Permutation pick={2}> {/* children */} {[ 'one', 'two', 'three', 'four', ]} </Permutation> ``` ## Property arguments * `children: (MaybeReadonlyArray<ReactNodeWithoutNullOrUndefined>)`: A list of content to be presented in shuffled order. * `pick?: (number)`: The number of items in the list that should be displayed.