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:
parent
2576987c44
commit
14e5bee7d6
@ -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'
|
||||
|
9
bridges/nodejs/src/sdk/aurora/switch.ts
Normal file
9
bridges/nodejs/src/sdk/aurora/switch.ts
Normal 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)
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user