admin panel fast follows (#10723)
fast follows: - https://discord.com/channels/1130383047699738754/1346433965451382845 - https://discord.com/channels/1130383047699738754/1346434512757981264 - https://discord.com/channels/1130383047699738754/1346453484911853610 --------- Co-authored-by: Félix Malfait <felix.malfait@gmail.com>
This commit is contained in:
@ -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}
|
||||
|
||||
Reference in New Issue
Block a user