1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-12-17 21:51:53 +03:00

feat(bridge/nodejs): add Switch component

This commit is contained in:
louistiti 2023-12-03 22:03:53 +08:00
parent 2576987c44
commit 14e5bee7d6
No known key found for this signature in database
GPG Key ID: 92CD6A2E497E1669
2 changed files with 10 additions and 0 deletions

View File

@ -19,5 +19,6 @@ export * from './select'
export * from './select-option'
export * from './slider'
export * from './status'
export * from './switch'
export * from './text-input'
export * from './widget-wrapper'

View File

@ -0,0 +1,9 @@
import { type SwitchProps } from '@leon-ai/aurora'
import { Widget } from '../widget'
export class Switch extends Widget<SwitchProps> {
constructor(props: SwitchProps) {
super(props)
}
}