chain buttons
This commit is contained in:
parent
00cdcdaeae
commit
cf60ead52c
1
src/widgets/chain-buttons/index.ts
Normal file
1
src/widgets/chain-buttons/index.ts
Normal file
|
|
@ -0,0 +1 @@
|
|||
export { default as ChainButtons } from "./ui/ChainButtons";
|
||||
14
src/widgets/chain-buttons/ui/ChainButtons.tsx
Normal file
14
src/widgets/chain-buttons/ui/ChainButtons.tsx
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
import type { Chain } from "@/entities/chain/schema";
|
||||
import { RenameChainButton } from "@/features/rename-chain";
|
||||
|
||||
interface ChainButtonsProps {
|
||||
chain: Chain;
|
||||
}
|
||||
|
||||
export default function ChainButtons({ chain }: ChainButtonsProps) {
|
||||
return (
|
||||
<div>
|
||||
<RenameChainButton chain={chain} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user