@hoanghiep-pham/ema-ui
v1.0.2
Published
const userManualContent = ` # @hoanghiep-pham/ema-table User Manual
Downloads
2
Readme
const userManualContent = `
@hoanghiep-pham/ema-table User Manual
Introduction
`@hoanghiep-pham/ema-table` is a versatile table component designed for Vue.js and React applications. It provides a rich set of features for displaying, sorting, filtering, and editing tabular data.
Installation
To use `@hoanghiep-pham/ema-table`, you need to install it in your project. You can do this using npm or yarn:
# Using npm
npm install @hoanghiep-pham/ema-table
# Using yarn
yarn add @hoanghiep-pham/ema-table
Usage
Vue.js
In your Vue.js component, include `@hoanghiep-pham/ema-table`:
<template>
<div>
<EmaTable :data="yourData" :columns="yourColumns" />
</div>
</template>
<script>
import EmaTable from '@hoanghiep-pham/ema-table';
export default {
components: {
EmaTable
},
data() {
return {
yourData: [], // Your data array
yourColumns: [] // Your columns array
};
}
};
</script>
React
In your React component, include `@hoanghiep-pham/ema-table`:
import React from 'react';
import EmaTable from '@hoanghiep-pham/ema-table';
const YourComponent = () => {
const yourData = []; // Your data array
const yourColumns = []; // Your columns array
return (
<div>
<EmaTable data={yourData} columns={yourColumns} />
</div>
);
};
export default YourComponent;
Configuration
`@hoanghiep-pham/ema-table` offers various configuration options to customize its behavior and appearance. Refer to the documentation or code comments for detailed information.
Contributing
Contributions are welcome! If you encounter a bug or have an enhancement in mind, open an issue or submit a pull request on the GitHub repository.