mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-20 10:24:15 +00:00
* feat(compliance): Add in initial shell for Compliance page * feat(compliance): Mock data in the same way as Services and Providers, create files for rest of page and card structure * feat(compliance): Add in more data to json, continue building Compliance Card * feat(compliance): Add in icons for Compliance types, update Compliance skeleton * feat(compliance): Compliance card/page - add in colors for progress bar, styling * feat(compliance): Add image definitions to fix CI * feat(compliance): Add in aws.svg instead of .png * Fix file suffix * feat(compliance) remove duplicate spacer
24 lines
723 B
TypeScript
24 lines
723 B
TypeScript
import React from "react";
|
|
|
|
import { CustomAccountSelection } from "./CustomAccountSelection";
|
|
import { CustomCheckboxMutedFindings } from "./CustomCheckboxMutedFindings";
|
|
import { CustomDatePicker } from "./CustomDatePicker";
|
|
import { CustomSelectProvider } from "./CustomSelectProvider";
|
|
|
|
interface FilterControlsProps {
|
|
mutedFindings?: boolean;
|
|
}
|
|
|
|
export const FilterControls: React.FC<FilterControlsProps> = ({
|
|
mutedFindings = true,
|
|
}) => {
|
|
return (
|
|
<div className="grid grid-cols-1 md:grid-cols-2 xl:grid-cols-4 gap-x-4 gap-y-4">
|
|
<CustomSelectProvider />
|
|
<CustomDatePicker />
|
|
<CustomAccountSelection />
|
|
<CustomCheckboxMutedFindings mutedFindings={mutedFindings} />
|
|
</div>
|
|
);
|
|
};
|