mirror of
https://github.com/leon-ai/leon.git
synced 2024-11-24 04:31:31 +03:00
feat(bridge/nodejs): add Card
component
This commit is contained in:
parent
c44824c89d
commit
ac25897e9e
@ -1,10 +1,6 @@
|
||||
import { Widget } from '../widget'
|
||||
import { type CardProps } from '@leon-ai/aurora'
|
||||
|
||||
// TODO: contains the button API. rendering engine <-> SDK
|
||||
interface CardProps {
|
||||
children: any
|
||||
fullWidth?: boolean
|
||||
}
|
||||
import { Widget } from '../widget'
|
||||
|
||||
export class Card extends Widget<CardProps> {
|
||||
constructor(props: CardProps) {
|
||||
|
Loading…
Reference in New Issue
Block a user