Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 1.5 KB

File metadata and controls

48 lines (32 loc) · 1.5 KB

React-Admin `Yaml Export`` function

Version Documentation Maintenance License: MIT

Export bulk list to Yaml file,

Install

yarn install @dslab/ra-export-yaml

Usage

To use in an list context, where the records are available, include the component as exporter function inside .

import yamlExporter from '@dslab/ra-export-yaml';

The list could be implemented like the following.

<List exporter={yamlExporter}>
    <Datagrid>
        <TextField source="id" />
    </Datagrid>
</List>

Author

SmartCommunityLab

Show your support

Give a ⭐️ if this project helped you!

License

Copyright © 2023 SmartCommunityLab.
This project is MIT licensed.