Further review feedback.

Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
This commit is contained in:
Eric Peterson
2022-06-10 11:05:41 +02:00
parent 2dc4818541
commit effb3b27a4
7 changed files with 35 additions and 48 deletions
@@ -46,6 +46,8 @@ const useStyles = makeStyles(theme => ({
/**
* @public
* @deprecated This type and corresponding component will be removed in a
* future release.
*/
export type FiltersState = {
selected: string;
@@ -54,6 +56,8 @@ export type FiltersState = {
/**
* @public
* @deprecated This type and corresponding component will be removed in a
* future release.
*/
export type FilterOptions = {
kind: Array<string>;
@@ -64,6 +68,8 @@ export type FilterOptions = {
* Props for {@link Filters}.
*
* @public
* @deprecated This type and corresponding component will be removed in a
* future release.
*/
export type FiltersProps = {
filters: FiltersState;
@@ -75,6 +81,8 @@ export type FiltersProps = {
/**
* @public
* @deprecated This component will be removed in a future release. Use
* `SearchFilter` from `@backstage/plugin-search-react` instead.
*/
export const Filters = ({
filters,
@@ -32,6 +32,8 @@ const useStyles = makeStyles(theme => ({
* Props for {@link FiltersButton}.
*
* @public
* @deprecated This type and corresponding component will be removed in a
* future release.
*/
export type FiltersButtonProps = {
numberOfSelectedFilters: number;
@@ -40,6 +42,7 @@ export type FiltersButtonProps = {
/**
* @public
* @deprecated See `SearchFilter` in `@backstage/plugin-search-react` instead.
*/
export const FiltersButton = ({
numberOfSelectedFilters,