JustPaste
HomeCategoriesAboutDonateContactTerms of UsePrivacy Policy
JustPaste

Free online notepad — write and share instantly

Navigate

  • Home
  • Timeline
  • Categories

Info

  • About
  • Donate
  • Contact

Legal

  • Terms of Use
  • Privacy Policy

© 2026 JustPaste.app. All rights reserved.

Made with ♥ by JustPaste

Untitled Page | JustPaste.app
18 days ago5 views
👨‍💻Programming

Untitled Page

// Shows a task priority using the specified text and background colors.
const styles = { High: { color: '#DC2626', background: '#FEE2E2' }, Medium: { color: '#D97706', background: '#FEF3C7' }, Low: { color: '#2563EB', background: '#DBEAFE' } };
function PriorityPill({ value }) { return <span style={{ ...styles[value], borderRadius: 9999, padding: '4px 12px', fontSize: 12, fontWeight: 500 }}>{value}</span>; }
export default PriorityPill;
← Back to timeline