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:
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
|
import { Widget } from '../widget'
|
||||||
interface CardProps {
|
|
||||||
children: any
|
|
||||||
fullWidth?: boolean
|
|
||||||
}
|
|
||||||
|
|
||||||
export class Card extends Widget<CardProps> {
|
export class Card extends Widget<CardProps> {
|
||||||
constructor(props: CardProps) {
|
constructor(props: CardProps) {
|
||||||
|
Loading…
Reference in New Issue
Block a user