Skip to content
Snippets Groups Projects

Feature/ln 1358 ce people page filters ui

Merged Nashon Juma requested to merge feature/LN-1358-ce-people-page-filters-ui into dev
2 unresolved threads

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
1 import { useTranslation } from 'react-i18next';
2
3 interface FundingStatusToggleProps {
4 checked: boolean;
5 onChange: () => void;
6 }
7
8 const FundingStatusToggle: React.FC<FundingStatusToggleProps> = ({ checked, onChange }) => {
9 const { t } = useTranslation();
10
11 return (
12 <div className="relative flex flex-col items-center">
13 {/* Left Vertical Border */}
14 <div className="absolute left-0 top-0 h-full w-px bg-gray-300"></div>
  • 10
    11 return (
    12 <div className="relative flex flex-col items-center">
    13 {/* Left Vertical Border */}
    14 <div className="absolute left-0 top-0 h-full w-px bg-gray-300"></div>
    15
    16 <span className="text-sm font-medium mb-2">{t('people.fundingStatus')}</span>
    17
    18 <label className="relative inline-flex cursor-pointer">
    19 <input
    20 type="checkbox"
    21 checked={checked}
    22 onChange={onChange}
    23 className="sr-only peer"
    24 />
    25 <div className="w-12 h-6 bg-gray-300 rounded-full peer-checked:bg-primary transition-colors duration-300">
  • Nashon Juma added 13 commits

    added 13 commits

    Compare with previous version

  • merged

  • Emmanuel Titi mentioned in commit 1e2bc59b

    mentioned in commit 1e2bc59b

  • :tada: This MR is included in version 1.0.0 :tada:

    The release is available on GitLab release.

    Your semantic-release bot :package: :rocket:

  • Please register or sign in to reply
    Loading