New lesson

Menu
Lesson 15/25
import React, { Component } from "react";
import styled from "styled-components";
import { makeGridGallery } from "../helpers";

const property = `grid-auto-rows`;
const defaults = ` grid-template-rows: repeat(3, 40px); grid-template-columns: 1fr 1fr`;

const cases = ["1fr", "80px 1fr", "min-content"];

export default makeGridGallery(cases, property, defaults);