ClipboardButton
ClipboardButtonコンポーネントは、テキストをクリップボードにコピーするためのボタンコンポーネントです。
基本的な使い方
import { ClipboardButton } from "@basemachina/view";
const App = () => {
return <ClipboardButton text="コピーしたいテキスト" />;
};
export default App;

詳細なインターフェース
名前 | 説明 | デフォルト値 |
---|---|---|
text | クリップボードにコピーするテキストを指定します。 | 必須 |