Skip to content

Commit

Permalink
Merge pull request #104 from discoverfinancial/evangk6-revert601
Browse files Browse the repository at this point in the history
revert 601
  • Loading branch information
evangk6 authored Sep 20, 2023
2 parents 0e7319c + 66e0672 commit 2ec1b37
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/molecules/standardButtons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/
import { Molecule } from "./molecule";
import { IMolecules } from "../interfaces";
import { PropertyStringSelectable, PropertyShadowSelectable, PropertyNumberSelectable, PropertyNumber } from "../common/props";
import { PropertyStringSelectable, PropertyShadowSelectable, PropertyNumberSelectable } from "../common/props";

/**
* The standard button molecule.
Expand All @@ -15,7 +15,7 @@ export class StandardButtons extends Molecule {
/** The minimum width property */
public minWidth: PropertyNumberSelectable;
/** The height property */
public height: PropertyNumber;
public height: PropertyNumberSelectable;
/** The radius property */
public radius: PropertyNumberSelectable;
/** The horizontal padding property */
Expand All @@ -30,7 +30,7 @@ export class StandardButtons extends Molecule {
constructor(molecules: IMolecules) {
super("Standard Buttons", molecules);
this.minWidth = new PropertyNumberSelectable("Button Minimum Width", false, this, [40/8, 44/8, 48/8, 56/8], 44/8);
this.height = new PropertyNumber("Button Height", false, this, {defaultValue: 44/8});
this.height = new PropertyNumberSelectable("Button Height", false, this, [40/8, 44/8, 48/8, 56/8], 44/8);
this.radius = new PropertyNumberSelectable("Button Radius", false, this, [0, 2/8, 4/8, 1, 2, 3, 4, 5, 6, 7, 8], 3);
this.horizontalPadding = new PropertyNumberSelectable("Horizontal Padding", false, this, [2, 3, 4, 5], 3);
this.buttonText = new PropertyStringSelectable("Button Text", false, this, {
Expand Down

0 comments on commit 2ec1b37

Please sign in to comment.