@alilc/lowcode-plugin-components-pane
Version:
26 lines (25 loc) • 616 B
TypeScript
import React from 'react';
import { Text, StandardComponentMeta } from '../../utils/transform';
interface Props {
data: StandardComponentMeta;
t: (input: Text) => string;
}
interface State {
icon: string | React.ReactNode;
snippet: any;
}
export default class Component extends React.Component<Props, State> {
static getDerivedStateFromProps(props: any): {
icon: any;
snippet: any;
};
state: {
icon: string;
snippet: any;
};
t: (s: any) => string;
constructor(props: any);
renderIcon(): JSX.Element;
render(): JSX.Element;
}
export {};