1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-11-24 12:45:58 +03:00

feat(bridge/nodejs): add Card component

This commit is contained in:
louistiti 2023-12-03 21:32:38 +08:00
parent c44824c89d
commit ac25897e9e
No known key found for this signature in database
GPG Key ID: 92CD6A2E497E1669

View File

@ -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) {