{"version":3,"file":"FolderCardBodyAction.mjs","sources":["../../../../../admin/src/components/FolderCard/FolderCardBodyAction/FolderCardBodyAction.tsx"],"sourcesContent":["// TODO: find a better naming convention for the file that was an index file before\nimport { Box, BoxProps } from '@strapi/design-system';\nimport { NavLink, LinkProps } from 'react-router-dom';\nimport { styled } from 'styled-components';\n\nconst BoxOutline = styled(Box)`\n &:focus {\n outline: 2px solid ${({ theme }) => theme.colors.primary600};\n outline-offset: -2px;\n }\n`;\n\nconst BoxTextDecoration = styled(BoxOutline)`\n text-decoration: none;\n`;\n\ninterface FolderCardBodyActionProps extends BoxProps {\n to?: LinkProps['to'];\n}\n\nexport const FolderCardBodyAction = ({ to, ...props }: FolderCardBodyActionProps) => {\n if (to) {\n return (\n