mirror of
https://github.com/idanoo/autobrr
synced 2025-07-26 10:19:13 +00:00
refactor(web): rename custom components (#1581)
Co-authored-by: ze0s <43699394+zze0s@users.noreply.github.com>
This commit is contained in:
parent
7d7bf9ed4c
commit
e8e45c664d
17 changed files with 459 additions and 430 deletions
|
@ -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(
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue