mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-06 10:20:09 +02:00
refactor: replace non-prop interface with type; allow plugin lifecycles to have sync type (#7080)
* refactor: replace non-prop interface with type; allow plugin lifecycles to have sync type * fix
This commit is contained in:
parent
ce2b631455
commit
24c205a835
38 changed files with 145 additions and 138 deletions
|
@ -19,13 +19,13 @@ function WebsiteLink({to, children}: {to: string; children?: ReactNode}) {
|
|||
);
|
||||
}
|
||||
|
||||
interface ProfileProps {
|
||||
type ProfileProps = {
|
||||
className?: string;
|
||||
name: string;
|
||||
children: ReactNode;
|
||||
githubUrl?: string;
|
||||
twitterUrl?: string;
|
||||
}
|
||||
};
|
||||
|
||||
function TeamProfileCard({
|
||||
className,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue