eatci-file-validator
v1.7.0
Published
A package to allow validating imported files in eAtCI
Downloads
16
Readme
eatci-file-validator
Installation:
npm install eatci-file-validator
or
yarn add -D eatci-file-validator
Usage :
Add FileValidator
to your component:
import React from 'react'
import ReactDOM from 'react-dom/client'
import FileValidator from 'eatci-file-validator'
const root = ReactDOM.createRoot(document.getElementById('root') as HTMLElement)
root.render(
<React.StrictMode>
<div>
<h2>Validator</h2>
<FileValidator />
</div>
</React.StrictMode>,
)