nitin
2025-03-10 19:02:40 +05:30
committed by GitHub
parent a1e0d7b7d7
commit 77574594f2
29 changed files with 496 additions and 212 deletions

View File

@ -6,6 +6,7 @@ export {
IconAlertTriangle,
IconApi,
IconApps,
IconAppWindow,
IconArchive,
IconArchiveOff,
IconArrowBackUp,
@ -158,6 +159,7 @@ export {
IconHeadphones,
IconHeart,
IconHeartOff,
IconHeartRateMonitor,
IconHelpCircle,
IconHierarchy,
IconHierarchy2,
@ -241,6 +243,7 @@ export {
IconSearch,
IconSend,
IconServer,
IconServer2,
IconSettings,
IconSettings2,
IconSettingsAutomation,
@ -254,6 +257,7 @@ export {
IconSquareKey,
IconSquareRoundedCheck,
IconSquareRoundedX,
IconStatusChange,
IconStepInto,
IconTable,
IconTag,
@ -266,6 +270,7 @@ export {
IconTimeDuration30,
IconTimeDuration60,
IconTimelineEvent,
IconTool,
IconTrash,
IconTrashX,
IconTypography,

View File

@ -1,5 +1,5 @@
import React from 'react';
import styled from '@emotion/styled';
import React from 'react';
const StyledButtonLink = styled.a`
align-items: center;
@ -17,9 +17,14 @@ const StyledButtonLink = styled.a`
}
`;
export const ActionLink = (props: React.ComponentProps<'a'>) => {
type ActionLinkProps = React.ComponentProps<'a'> & {
className?: string;
};
export const ActionLink = (props: ActionLinkProps) => {
return (
<StyledButtonLink
className={props.className}
href={props.href}
onClick={props.onClick}
target={props.target}