<commit_before>```js
amountOptions = [500, 1000, 2000, 5000, 10000];
currency = 'USD';
<ContributeDetails onChange={console.log} amountOptions={amountOptions} currency={currency} showFrequency />
```

```js
amountOptions = [500, 1000, 2000, 5000, 10000];
currency = 'USD';
<ContributeDetails onChange={console.log} amountOptions={amountOptions} currency={currency} />
```<commit_msg>docs(examples/ContributeDetails): add example with initial values<commit_after>Show frequency select:
```js
amountOptions = [500, 1000, 2000, 5000, 10000];
currency = 'USD';
<ContributeDetails onChange={console.log} amountOptions={amountOptions} currency={currency} showFrequency />
```

```js
amountOptions = [500, 1000, 2000, 5000, 10000];
currency = 'USD';
<ContributeDetails onChange={console.log} amountOptions={amountOptions} currency={currency} />
```

Set with initial value:
```js
amountOptions = [500, 1000, 2000, 5000, 10000];
currency = 'USD';
initialValue = {
  totalAmount: 2000,
  interval: 'month',
};
<ContributeDetails onChange={console.log} amountOptions={amountOptions} currency={currency} showFrequency {...initialValue} />
```
{'fraction_non_alphanumeric': 0.16091954022988506, 'fraction_numerical': 0.09195402298850575, 'mean_word_length': 7.775193798449612, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4656521', 'n_tokens_mistral': 431, 'n_tokens_neox': 317, 'n_words': 86}