#
luxiaotao1123
2024-03-07 e79fd9a43864f88522cd545e7c4ae971a89a0109
zy-asrs-flow/src/pages/map/components/settings.jsx
@@ -0,0 +1,51 @@
import React, { useState, useRef, useEffect } from 'react';
import { Col, Form, Modal, Row, Checkbox, Image, Tree, Drawer, Space, Button, Card, Divider } from 'antd';
import { FormattedMessage, useIntl, useModel } from '@umijs/max';
import * as PIXI from 'pixi.js';
import { createStyles } from 'antd-style';
import './index.css'
const useStyles = createStyles(({ token, css }) => {
})
const SpriteSettings = (props) => {
    const { styles } = useStyles();
    const { curSprite } = props;
    useEffect(() => {
    }, []);
    return (
        <>
            <Drawer
                open={props.open}
                onClose={() => {
                    props.onCancel();
                }}
                getContainer={props.refCurr}
                rootStyle={{ position: "absolute" }}
                mask={false}
                width={570}
                extra={
                    <Space>
                        <Button onClick={() => props.onCancel()}><FormattedMessage id='common.cancel' defaultMessage='取消' /></Button>
                    </Space>
                }
            >
                <Card>
                    {/*
                        // position
                        // scale
                        // rotation
                        // copy
                    */}
                </Card>
            </Drawer>
        </>
    )
}
export default SpriteSettings;