Skip to content

Commit 40b4638

Browse files
authored
Merge pull request #52 from reactjs/sync-556063bd
Sync with react.dev @ 556063b
2 parents d93bb68 + 943dbb8 commit 40b4638

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/components/SocialBanner.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ import {useRef, useEffect} from 'react';
77
import cn from 'classnames';
88
import {ExternalLink} from './ExternalLink';
99

10-
const bannerText = 'Join us for React Conf on May 15-16.';
11-
const bannerLink = 'https://conf.react.dev/';
12-
const bannerLinkText = 'Learn more.';
10+
const bannerText = 'Украинаны қолдаңыз 🇺🇦';
11+
const bannerLink = 'https://opensource.fb.com/support-ukraine';
12+
const bannerLinkText = 'Украинаға гуманитарлық көмек көрсетуге көмектесіңіз'
1313

1414
export default function SocialBanner() {
1515
const ref = useRef<HTMLDivElement | null>(null);

src/content/learn/editor-setup.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ React қауымдастығында қолданылатын басқа тан
4040

4141
### Форматтау {/*formatting*/}
4242

43-
4443
Кодыңызды басқа адамдармен бөліскен кезде ең соңғы уайымдайтын нәрсе ол [табтар немесе бос орындар](https://www.google.com/search?q=tabs+vs+spaces)! Қуанышқа орай, [Prettier](https://prettier.io/) кодты алдын ала орнатылған ережелерге сәйкес форматтайды. Prettier-ді іске қосыңыз, сонда барлық қойған табтар, бос орындар, тырнақша түрі және т.б. конфигурацияға сәйкес келетіндей етіп өзгертіледі. Prettier файлды сақтаған кезде форматтауды іске қосылады, бұл сіздің жұмысынызды жеңілдетеді.
4544
The last thing you want to do when sharing your code with another contributor is get into a discussion about [tabs vs spaces](https://www.google.com/search?q=tabs+vs+spaces)! Fortunately, [Prettier](https://prettier.io/) will clean up your code by reformatting it to conform to preset, configurable rules. Run Prettier, and all your tabs will be converted to spaces—and your indentation, quotes, etc will also all be changed to conform to the configuration. In the ideal setup, Prettier will run when you save your file, quickly making these edits for you.
4645

src/content/learn/installation.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ export default function App() {
3636
</Sandpack>
3737

3838
Дәл осы жерде код жазуға немесе жоғарғы оң жақ бұрыштағы «Fork» түймесін басу арқылы кодты жаңа табта ашуға болады.
39-
Most pages in the React documentation contain sandboxes like this. Outside of the React documentation, there are many online sandboxes that support React: for example, [CodeSandbox](https://codesandbox.io/s/new), [StackBlitz](https://stackblitz.com/fork/react), or [CodePen.](https://codepen.io/pen?template=QWYVwWN)
39+
40+
Мұндай құмжәшіктер React құжаттамасының беттерінің көпшілігінде қолжетімді. React құжаттамасынан басқа, React-ті қолдайтын көптеген онлайн құмжәшіктері бар: мысалы, [CodeSandbox](https://codesandbox.io/s/new), [StackBlitz](https://stackblitz.com/fork/react), немесе [CodePen.](https://codepen.io/pen?&editors=0010&layout=left&prefill_data_id=3f4569d1-1b11-4bce-bd46-89090eed5ddb)
4041

4142
### Локальде React-тi қолданып көріңіз {/*try-react-locally*/}
4243

0 commit comments

Comments
 (0)