feat: support surfaces

Signed-off-by: Gabriel Dugny <gabriel.dugny@believe.com>
This commit is contained in:
Gabriel Dugny
2026-01-08 12:05:40 +01:00
parent 66434bccd7
commit 7c1f6cc633
5 changed files with 69 additions and 12 deletions
@@ -17,6 +17,12 @@ export const toggleButtonPropDefs: Record<string, PropDef> = {
default: 'small',
responsive: true,
},
onSurface: {
type: 'enum',
values: ['0', '1', '2', '3', 'danger', 'warning', 'success', 'auto'],
description: 'Surface level this toggle is placed on',
responsive: true,
},
iconStart: { type: 'enum', values: ['ReactNode'] },
iconEnd: { type: 'enum', values: ['ReactNode'] },
isSelected: { type: 'boolean' },