masonic
Version:
<hr> <div align="center"> <h1 align="center"> 🧱 masonic </h1>
22 lines (20 loc) • 541 B
JavaScript
import * as React from "react";
const __reactCreateElement__ = React.createElement;
import { Masonry } from "./masonry";
/**
* This is just a single-column `<Masonry>` component without column-specific props.
*
* @param props
*/
export function List(props) {
return /*#__PURE__*/__reactCreateElement__(Masonry, {
role: "list",
rowGutter: props.rowGutter,
columnCount: 1,
columnWidth: 1,
...props
});
}
if (typeof process !== "undefined" && process.env.NODE_ENV !== "production") {
List.displayName = "List";
}