using System; using Pine; namespace PineComposition.Examples { public static class Actions { public static View Save(Value canSave, Action save) => P.Button("Save", onClick: save, interactable: canSave) .With(P.LayoutElement(preferredHeight: 40)); } }