ic-design-system icon indicating copy to clipboard operation
ic-design-system copied to clipboard

Incorrect code snippet for ic-dialog

Open GCHQ-Developer-741 opened this issue 2 years ago • 2 comments

Summary of the bug

The code snippet for ic-dialog, under the "Interactive Content" heading, the React example should include an onIcDialogConfirmed event listener.

🧐 Expected behaviour

<IcDialog ref={dialogEl} label="Coffee order"
  heading="Please agree to our terms and conditions"
  onIcDialogConfirmed={termsDialogConfirmed}
>

GCHQ-Developer-741 avatar Oct 17 '23 16:10 GCHQ-Developer-741

Is this done @MI6-94 ?

MI6-255 avatar Jul 30 '24 10:07 MI6-255

@MI6-255 did not complete, return to 'ready for dev'

MI6-94 avatar Aug 12 '24 10:08 MI6-94

Completed as part of a seperate check of the code examples

GCHQ-Developer-741 avatar Nov 14 '24 09:11 GCHQ-Developer-741