diff --git a/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/base-fields/Number/Examples.tsx b/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/base-fields/Number/Examples.tsx index 19916178049..422b8588d1e 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/base-fields/Number/Examples.tsx +++ b/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/base-fields/Number/Examples.tsx @@ -94,31 +94,67 @@ export const HorizontalLayout = () => { export const Widths = () => { return ( - + +

Without step controls

+ console.log('onChange', value)} + /> + console.log('onChange', value)} + /> + console.log('onChange', value)} + /> + console.log('onChange', value)} + /> + console.log('onChange', value)} + /> +

With step controls

console.log('onChange', value)} /> console.log('onChange', value)} /> console.log('onChange', value)} /> console.log('onChange', value)} /> ( ) export const WithSlider = () => ( - + {() => { const Component = () => { const [value, setValue] = React.useState(50000)