Skip to content

Commit

Permalink
#92 enum columns and gaps
Browse files Browse the repository at this point in the history
  • Loading branch information
Queentaker committed Jun 29, 2024
1 parent 9b7823c commit d1fedfc
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import { Component, Prop, h } from "@stencil/core";
styleUrl: "tc-grid-container.css",
})
export class TcGridContainer {
@Prop() mdColumns: number = 2;
@Prop() lgColumns: number = 4;
@Prop() columns: number = 1;
@Prop() gap: string = "";
@Prop() mdColumns: 1|2|3|4|5|6 = 2;
@Prop() lgColumns: 1|2|3|4|5|6 = 4;
@Prop() columns: 1|2|3|4|5|6 = 1;
@Prop() gap: 'sm' | 'md' | 'lg' | 'xl' = "md";
@Prop() backgroundColor: string = "rgb(255, 255, 255)";

// Default to 2 columns
Expand Down

0 comments on commit d1fedfc

Please sign in to comment.