From 11b299b03ef53fc7e41417408d9be1fc8c84f913 Mon Sep 17 00:00:00 2001 From: Lee Chase Date: Sun, 18 Apr 2021 20:47:09 +0100 Subject: [PATCH] chore: update form group to 1030 (#1173) Co-authored-by: Lee Chase --- .../src/components/cv-form/cv-form-group.vue | 18 ++++- .../src/components/cv-form/cv-form-notes.md | 2 +- storybook/.storybook/config.js | 2 +- storybook/stories/cv-form-story.js | 77 +++++++++++++++++++ storybook/stories/cv-tile-story.js | 2 +- 5 files changed, 97 insertions(+), 4 deletions(-) diff --git a/packages/core/src/components/cv-form/cv-form-group.vue b/packages/core/src/components/cv-form/cv-form-group.vue index 807321dcc..08861797e 100644 --- a/packages/core/src/components/cv-form/cv-form-group.vue +++ b/packages/core/src/components/cv-form/cv-form-group.vue @@ -1,9 +1,20 @@ @@ -12,5 +23,10 @@ import { carbonPrefixMixin } from '../../mixins'; export default { name: 'CvFormGroup', mixins: [carbonPrefixMixin], + props: { + noMargin: Boolean, + invalid: Boolean, + message: String, + }, }; diff --git a/packages/core/src/components/cv-form/cv-form-notes.md b/packages/core/src/components/cv-form/cv-form-notes.md index 1bfd4cb57..29b76f773 100644 --- a/packages/core/src/components/cv-form/cv-form-notes.md +++ b/packages/core/src/components/cv-form/cv-form-notes.md @@ -18,7 +18,7 @@ CvForm has no properties and a single default slot Used inside a form to group components such as checkboxes and radio buttons. ```html - +