# code-block-pro/1.27.6/src/editor/components/buttons/ButtonList.tsx

Code Block Pro – Beautiful Syntax Highlighting, version 1.27.6. 8 lines.

- Page: https://pluginprobe.com/plugins/code-block-pro/1.27.6/code/src/editor/components/buttons/ButtonList.tsx
- Raw: https://pluginprobe.com/plugins/code-block-pro/1.27.6/raw/src/editor/components/buttons/ButtonList.tsx
- Modified: 2023-07-10T00:18:42+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/code-block-pro/1.27.6/code/src/editor/components/buttons/ButtonList.tsx#L10-L20`.

```tsx
import { Attributes } from '../../../types';
import { CopyButton } from './copy/CopyButton';

export const ButtonList = (props: Attributes) => {
    const { copyButton } = props;
    return copyButton ? <CopyButton attributes={props} /> : null;
};

```
