diff --git a/apps/website/src/components/LiveExample.astro b/apps/website/src/components/LiveExample.astro
index 9c1911a88d5..e928100b28b 100644
--- a/apps/website/src/components/LiveExample.astro
+++ b/apps/website/src/components/LiveExample.astro
@@ -30,14 +30,7 @@ if (code.includes('Copyright (c) Bentley Systems')) {
---
-
-
-
+
@@ -94,7 +87,7 @@ if (code.includes('Copyright (c) Bentley Systems')) {
border-radius: var(--border-radius-1);
}
- .demo-iui-wrapper {
+ .demo-box :global([data-iui-theme]) {
height: 100%;
width: 100%;
overflow: auto;
diff --git a/examples/InputGroup.checkboxGroup.tsx b/examples/InputGroup.checkboxGroup.tsx
index bd2643c1455..b0ac8585de4 100644
--- a/examples/InputGroup.checkboxGroup.tsx
+++ b/examples/InputGroup.checkboxGroup.tsx
@@ -5,7 +5,7 @@
import * as React from 'react';
import { InputGroup, Checkbox } from '@itwin/itwinui-react';
-export default (args) => {
+export default () => {
const option1Label = 'Football';
const option2Label = 'Hockey';
const [option1, setOption1] = React.useState(true);
@@ -33,32 +33,22 @@ export default (args) => {
setOption2(value);
};
return (
-
+
onAllChange(event.target.checked)}
label='Select all'
indeterminate={isIndeterminate}
checked={allOptions}
- disabled={args.disabled}
- required={args.required}
/>
setOption1(event.target.checked)}
label={option1Label}
checked={option1}
- disabled={args.disabled}
- required={args.required}
/>
setOption2(event.target.checked)}
label={option2Label}
checked={option2}
- disabled={args.disabled}
- required={args.required}
/>
);
diff --git a/examples/Select.disable.tsx b/examples/Select.disable.tsx
index baf10651da4..b57cf2cff4a 100644
--- a/examples/Select.disable.tsx
+++ b/examples/Select.disable.tsx
@@ -5,34 +5,25 @@
import * as React from 'react';
import { Select } from '@itwin/itwinui-react';
-export default (args) => {
- const {
- options = [
- {
- value: 1,
- label: 'Item #1',
- },
- {
- value: 2,
- label: 'Item #2',
- },
- {
- value: 3,
- label: 'Item #3',
- },
- ],
- placeholder = 'Placeholder text',
- ...rest
- } = args;
- const [value, setValue] = React.useState(undefined);
+export default () => {
return (