@@ -19,26 +42,35 @@
export default {
name: "listCard",
props: {
- buttonImage: String,
- buttonLabel: String,
+ //Must choose one of the following four options
+ isMultiSelect: Boolean,//Defines use as checkbox
+ isRadio: Boolean,//Defines use as radio button
+ isMultiSelectHorizontal: Boolean,//Defines use as horizontal checkbox
+ isRadioHorizontal: Boolean,//Defines use as horizontal radio button
+ //end must choose
+ buttonImage: String,//Optional: File name of image
+ buttonLabel: String,//Required: Label text
altText: String,//Leave empty. Screen readers read the buttonLabel text. If alt has content, it will repeat unnecessarily.
- buttonID: String,
- groupName: String,
- isMultiSelect: Boolean
+ buttonID: String,//Required: Unique
+ groupName: String,//Rquired: Unique
+ buttonLabelSubCopy: String,//Optional: sub text
+ hasError: Boolean//Used to show error state
}
};