Strek
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
2 deletions
-
beta/src/components/MDX/YouWillLearnCard.tsx
-
beta/src/pages/apis/index.md
|
@ -14,7 +14,7 @@ interface YouWillLearnCardProps { |
|
|
|
|
|
|
|
|
function YouWillLearnCard({title, path, children}: YouWillLearnCardProps) { |
|
|
function YouWillLearnCard({title, path, children}: YouWillLearnCardProps) { |
|
|
return ( |
|
|
return ( |
|
|
<div className="flex flex-col h-full bg-card dark:bg-card-dark shadow-inner justify-between rounded-lg pb-8 p-6 xl:p-8"> |
|
|
<div className="flex flex-col h-full bg-card dark:bg-card-dark shadow-inner justify-between rounded-lg pb-8 p-6 xl:p-8 mt-3"> |
|
|
<div> |
|
|
<div> |
|
|
<h4 className="text-primary dark:text-primary-dark font-bold text-2xl leading-tight"> |
|
|
<h4 className="text-primary dark:text-primary-dark font-bold text-2xl leading-tight"> |
|
|
{title} |
|
|
{title} |
|
|
|
@ -52,7 +52,7 @@ Declares a ref. |
|
|
|
|
|
|
|
|
```js |
|
|
```js |
|
|
function MyComponent() { |
|
|
function MyComponent() { |
|
|
const inputRef = useState(null); |
|
|
const inputRef = useRef(null); |
|
|
// ... |
|
|
// ... |
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|