mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-01-17 22:28:32 +01:00
22 lines
406 B
TypeScript
22 lines
406 B
TypeScript
import React from 'react';
|
|
import { StackDivider, VStack } from '@chakra-ui/react';
|
|
|
|
type LinksListProps = {
|
|
children: React.ReactNode
|
|
};
|
|
|
|
export function LinksList(props: LinksListProps) {
|
|
const { children } = props;
|
|
|
|
return (
|
|
<VStack
|
|
rounded='5px'
|
|
divider={<StackDivider borderColor='gray.200' />}
|
|
spacing={0}
|
|
align='stretch'
|
|
>
|
|
{children}
|
|
</VStack>
|
|
);
|
|
}
|