mirror of
https://github.com/tiennm99/github-readme-stats.git
synced 2026-05-16 14:59:13 +00:00
Refactor: Fixed docstring for flexLayout function (#2949)
* Refactor: Fixed docstring for flexLayout function * dev
This commit is contained in:
committed by
GitHub
parent
ad54117e4b
commit
96d3a47a9f
+2
-2
@@ -173,8 +173,8 @@ const request = (data, headers) => {
|
||||
* @param {object} props Function properties.
|
||||
* @param {string[]} props.items Array of items to layout.
|
||||
* @param {number} props.gap Gap between items.
|
||||
* @param {number[]?=} props.sizes Array of sizes for each item.
|
||||
* @param {"column" | "row"?=} props.direction Direction to layout items.
|
||||
* @param {"column" | "row"=} props.direction Direction to layout items.
|
||||
* @param {number[]=} props.sizes Array of sizes for each item.
|
||||
* @returns {string[]} Array of items with proper layout.
|
||||
*/
|
||||
const flexLayout = ({ items, gap, direction, sizes = [] }) => {
|
||||
|
||||
Reference in New Issue
Block a user