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