computer-scienceangular-roadmapbackend-roadmapblockchain-roadmapdba-roadmapdeveloper-roadmapdevops-roadmapfrontend-roadmapgo-roadmaphactoberfestjava-roadmapjavascript-roadmapnodejs-roadmappython-roadmapqa-roadmapreact-roadmaproadmapstudy-planvue-roadmapweb3-roadmap
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
409 B
22 lines
409 B
3 years ago
|
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>
|
||
|
);
|
||
|
}
|