mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-18 07:42:54 +00:00
23 lines
497 B
TypeScript
23 lines
497 B
TypeScript
import { createElement, forwardRef } from 'rax';
|
|
import { Price as _Price, Title as _Title } from '@ali/pcom-chaoshi-meta-design';
|
|
import View from 'rax-view';
|
|
import Text from 'rax-text';
|
|
import './index.css';
|
|
|
|
interface Props {
|
|
a: string;
|
|
}
|
|
|
|
const MyComponent = forwardRef((props: Props, ref: any) => {
|
|
return (
|
|
<View>
|
|
<Text className="rax-demo-title">Hello World!</Text>
|
|
</View>
|
|
);
|
|
});
|
|
|
|
export default MyComponent;
|
|
|
|
export const Price = _Price;
|
|
export const Title = _Title;
|