diff --git a/example/src/components/FormCheckboxDemo.tsx b/example/src/components/FormCheckboxDemo.tsx
index 9a260467..9857f110 100644
--- a/example/src/components/FormCheckboxDemo.tsx
+++ b/example/src/components/FormCheckboxDemo.tsx
@@ -1,5 +1,5 @@
import * as React from 'react';
-import { FormCheckbox, FormGroup } from '@capgeminiuk/dcx-react-library';
+import { FormCheckbox, CheckboxGroup } from '@capgeminiuk/dcx-react-library';
export const FormCheckboxDemo = () => {
const [value, setValue] = React.useState('');
@@ -48,9 +48,8 @@ export const FormCheckboxDemo = () => {
disabled={true}
/>
Group
- {
}}
/>
Group using string values
-
diff --git a/example/src/components/FormRadioDemo.tsx b/example/src/components/FormRadioDemo.tsx
index 9b414145..7f2d09f8 100644
--- a/example/src/components/FormRadioDemo.tsx
+++ b/example/src/components/FormRadioDemo.tsx
@@ -1,5 +1,5 @@
import * as React from 'react';
-import { FormRadio, FormGroup } from '@capgeminiuk/dcx-react-library';
+import { FormRadio, RadioGroup } from '@capgeminiuk/dcx-react-library';
export const FormRadioDemo = () => {
const [selected, setSelected] = React.useState('single-2');
@@ -153,10 +153,9 @@ export const FormRadioDemo = () => {
}}
/>
Basic Group Radios
- {
Basic Group Radios using string
- {
- {
fieldsetClasses="field-set-class"
hint={{
id: 'heard-about-hint',
- text:
- 'Please select the one closest to where you first heard about us',
+ text: 'Please select the one closest to where you first heard about us',
className: 'hint-class',
}}
itemsClasses="item-classes"
diff --git a/src/index.ts b/src/index.ts
index 1d27530b..cd8d0e5d 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -1,4 +1,4 @@
-export * from './formGroup';
+export * from './checkboxGroup';
export * from './radioGroup';
export * from './formInput';
export * from './formRadio';