Skip to content

Commit a27a7be

Browse files
Merge pull request #67 from nafistiham/react-dom-components-option
React dom component option
2 parents 0608df4 + 0964446 commit a27a7be

File tree

1 file changed

+16
-16
lines changed
  • src/content/reference/react-dom/components

1 file changed

+16
-16
lines changed

src/content/reference/react-dom/components/option.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: "<option>"
44

55
<Intro>
66

7-
The [built-in browser `<option>` component](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option) lets you render an option inside a [`<select>`](/reference/react-dom/components/select) box.
7+
[বিল্ট-ইন ব্রাউজার `<option>` কম্পোনেন্ট](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option) আপনাকে একটি [`<select>`](/reference/react-dom/components/select) বক্সের মধ্যে একটি অপশন তৈরি করার সুযোগ দেয়।
88

99
```js
1010
<select>
@@ -19,11 +19,11 @@ The [built-in browser `<option>` component](https://developer.mozilla.org/en-US/
1919

2020
---
2121

22-
## Reference {/*reference*/}
22+
## রেফারেন্স {/*reference*/}
2323

2424
### `<option>` {/*option*/}
2525

26-
The [built-in browser `<option>` component](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option) lets you render an option inside a [`<select>`](/reference/react-dom/components/select) box.
26+
[বিল্ট-ইন ব্রাউজার `<option>` কম্পোনেন্ট](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option) আপনাকে একটি [`<select>`](/reference/react-dom/components/select) বক্সের মধ্যে একটি অপশন তৈরি করার সুযোগ দেয়।
2727

2828
```js
2929
<select>
@@ -32,31 +32,31 @@ The [built-in browser `<option>` component](https://developer.mozilla.org/en-US/
3232
</select>
3333
```
3434

35-
[See more examples below.](#usage)
35+
[নিচে আরো উদাহরণ দেখুন।](#usage)
3636

37-
#### Props {/*props*/}
37+
#### প্রপ {/*props*/}
3838

39-
`<option>` supports all [common element props.](/reference/react-dom/components/common#props)
39+
`<option>` সকল [কমন এলিমেন্ট প্রপের](/reference/react-dom/components/common#props) সাপোর্ট দেয়।
4040

41-
Additionally, `<option>` supports these props:
41+
সাথে সাথে, `<option>` এই প্রপগুলোর সাপোর্ট দেয়ঃ
4242

43-
* [`disabled`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option#disabled): A boolean. If `true`, the option will not be selectable and will appear dimmed.
44-
* [`label`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option#label): A string. Specifies the meaning of the option. If not specified, the text inside the option is used.
45-
* [`value`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option#value): The value to be used [when submitting the parent `<select>` in a form](/reference/react-dom/components/select#reading-the-select-box-value-when-submitting-a-form) if this option is selected.
43+
* [`disabled`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option#disabled): একটি বুলিয়ান. `true` হলে, অপশন সিলেক্ট করা যাবে না এবং dimmed দেখাবে এটাকে।
44+
* [`label`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option#label): একটি স্ট্রিং। অপশনটা কী বুঝাচ্ছে সেটা নির্দেশ করে। যদি নির্দিষ্ট না করা হয়, তবে অপশনের মধ্যকার টেক্সট ব্যবহৃত হয়।
45+
* [`value`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option#value): [যখন একটা ফর্মে প্যারেন্ট `<select>` সাবমিট করা হয়](/reference/react-dom/components/select#reading-the-select-box-value-when-submitting-a-form) তখন এই অপশনটা সিলেক্ট করা হলে যেই ভ্যালু ব্যবহৃত হবে।
4646

47-
#### Caveats {/*caveats*/}
47+
#### সতর্কতা {/*caveats*/}
4848

49-
* React does not support the `selected` attribute on `<option>`. Instead, pass this option's `value` to the parent [`<select defaultValue>`](/reference/react-dom/components/select#providing-an-initially-selected-option) for an uncontrolled select box, or [`<select value>`](/reference/react-dom/components/select#controlling-a-select-box-with-a-state-variable) for a controlled select.
49+
* React `<option>``selected` এট্রিবিউট সাপোর্ট করে না। বরং, একটি অনিয়ন্ত্রিত সিলেক্ট বক্সের জন্য এই অপশনের `value` প্যারেন্ট [`<select defaultValue>`](/reference/react-dom/components/select#providing-an-initially-selected-option) এ পাস করে দিন, অথবা একটি নিয়ন্ত্রিত সিলেক্ট এর জন্য [`<select value>`](/reference/react-dom/components/select#controlling-a-select-box-with-a-state-variable) এ পাস করুন।
5050

5151
---
5252

53-
## Usage {/*usage*/}
53+
## ব্যবহার {/*usage*/}
5454

55-
### Displaying a select box with options {/*displaying-a-select-box-with-options*/}
55+
### অপশন সহ একটি সিলেক্ট বক্স প্রদর্শন করা {/*displaying-a-select-box-with-options*/}
5656

57-
Render a `<select>` with a list of `<option>` components inside to display a select box. Give each `<option>` a `value` representing the data to be submitted with the form.
57+
একটি সিলেক্ট বক্স প্রদর্শনের জন্য একটি `<option>` এর লিস্ট সহ `<select>` রেন্ডার করুন। প্রতিটা `<option>` এ একটি `value` দিন যারা ফর্মে সাবমিট হতে চলা ডেটার প্রতিনিধিত্ব করে।
5858

59-
[Read more about displaying a `<select>` with a list of `<option>` components.](/reference/react-dom/components/select)
59+
[`<option>` এর তালিকা সহ `<select>` প্রদর্শন করা নিয়ে আরো পড়ুন।](/reference/react-dom/components/select)
6060

6161
<Sandpack>
6262

0 commit comments

Comments
 (0)