extract device security learn more with content into component
This commit is contained in:
parent
bb4bffe1e8
commit
038fb53b69
3 changed files with 87 additions and 40 deletions
|
@ -21,12 +21,12 @@ import Modal from '../../../Modal';
|
|||
import InfoDialog from '../dialogs/InfoDialog';
|
||||
import AccessibleButton, { IAccessibleButtonProps } from './AccessibleButton';
|
||||
|
||||
interface Props extends IAccessibleButtonProps {
|
||||
export interface LearnMoreProps extends IAccessibleButtonProps {
|
||||
title: string;
|
||||
description: string | React.ReactNode;
|
||||
}
|
||||
|
||||
const LearnMore: React.FC<Props> = ({
|
||||
const LearnMore: React.FC<LearnMoreProps> = ({
|
||||
title,
|
||||
description,
|
||||
...rest
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue