Skip to content

Commit

Permalink
Rename interface
Browse files Browse the repository at this point in the history
  • Loading branch information
scottybollinger committed Feb 19, 2021
1 parent 6880c20 commit 96e293e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ import { EuiButtonTo } from '../react_router_helpers';

import { ADD_ROLE_MAPPING_BUTTON } from './constants';

interface IAddRoleMappingButtonProps {
interface Props {
path: string;
}

export const AddRoleMappingButton: React.FC<IAddRoleMappingButtonProps> = ({ path }) => (
export const AddRoleMappingButton: React.FC<Props> = ({ path }) => (
<EuiButtonTo to={path} fill color="secondary">
{ADD_ROLE_MAPPING_BUTTON}
</EuiButtonTo>
Expand Down

0 comments on commit 96e293e

Please sign in to comment.