- added page managebandi;
- improved styles of the pages and sections;
This commit is contained in:
16
src/components/ProperBandoLabel/index.js
Normal file
16
src/components/ProperBandoLabel/index.js
Normal file
@@ -0,0 +1,16 @@
|
||||
import React from 'react';
|
||||
|
||||
// tools
|
||||
import getBandoLabel from '../../helpers/getBandoLabel';
|
||||
import getBandoSeverity from '../../helpers/getBandoSeverity';
|
||||
|
||||
// components
|
||||
import { Tag } from 'primereact/tag';
|
||||
|
||||
const ProperBandoLabel = ({ status }) => {
|
||||
return(
|
||||
<Tag className="bandoStatusTag" value={getBandoLabel(status)} severity={getBandoSeverity(status)} />
|
||||
)
|
||||
}
|
||||
|
||||
export default ProperBandoLabel;
|
||||
Reference in New Issue
Block a user