refactor(web): rename custom components (#1581)

Co-authored-by: ze0s <43699394+zze0s@users.noreply.github.com>
This commit is contained in:
martylukyy 2024-08-12 20:44:57 +02:00 committed by GitHub
parent 7d7bf9ed4c
commit e8e45c664d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 459 additions and 430 deletions

View file

@ -13,7 +13,7 @@ interface ButtonProps {
onClick?: () => void;
}
export const Button = ({ children, className, disabled, onClick }: ButtonProps) => (
export const TableButton = ({ children, className, disabled, onClick }: ButtonProps) => (
<button
type="button"
className={classNames(
@ -27,7 +27,7 @@ export const Button = ({ children, className, disabled, onClick }: ButtonProps)
</button>
);
export const PageButton = ({ children, className, disabled, onClick }: ButtonProps) => (
export const TablePageButton = ({ children, className, disabled, onClick }: ButtonProps) => (
<button
type="button"
className={classNames(

View file

@ -3,5 +3,5 @@
* SPDX-License-Identifier: GPL-2.0-or-later
*/
export { Button, PageButton } from "./Buttons";
export { TableButton, TablePageButton } from "./Buttons";
export { AgeCell, IndexerCell, NameCell, TitleCell, ReleaseStatusCell, LinksCell } from "./Cells";