ビュー
その他
ClipboardButton

ClipboardButton

ClipboardButtonコンポーネントは、テキストをクリップボードにコピーするためのボタンコンポーネントです。

基本的な使い方

import { ClipboardButton } from "@basemachina/view";
 
const App = () => {
  return (
    <ClipboardButton text="コピーしたいテキスト" />
  );
};
 
export default App;
使用例

詳細なインターフェース

名前説明デフォルト値
textクリップボードにコピーするテキストを指定します。必須