mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-24 01:40:41 +02:00
update api to use label
This commit is contained in:
@@ -40,7 +40,7 @@ export interface ImportedDataState {
|
||||
elements?:
|
||||
| readonly (
|
||||
| (ExcalidrawElement & {
|
||||
children?: [
|
||||
label?: [
|
||||
{ text: string } & MarkOptional<
|
||||
ElementConstructorOpts,
|
||||
"x" | "y"
|
||||
@@ -49,7 +49,7 @@ export interface ImportedDataState {
|
||||
})
|
||||
| {
|
||||
type: Exclude<ExcalidrawGenericElement["type"], "selection">;
|
||||
children?: [
|
||||
label?: [
|
||||
{ text: string } & MarkOptional<
|
||||
ElementConstructorOpts,
|
||||
"x" | "y"
|
||||
|
Reference in New Issue
Block a user