File tree Expand file tree Collapse file tree 2 files changed +28
-4
lines changed
tailwind_components/buttons Expand file tree Collapse file tree 2 files changed +28
-4
lines changed Original file line number Diff line number Diff line change @@ -2,12 +2,14 @@ import test from "./test_file";
22import test1 from "./test1_file" ;
33import deleteButton from "./delete_button" ;
44import cardWithButton from "./card_with_button_button1" ;
5+ import settingButton from "./rectangle_setting" ;
56
67const buttonCollections = [
7- { componentName : "button1" , component : test } ,
8- { componentName : "button2" , component : test1 } ,
9- { componentName : "Card with button" , component : cardWithButton } ,
10- { componentName : "Delete button" , component : deleteButton } ,
8+ { componentName : "button1" , component : test } ,
9+ { componentName : "button2" , component : test1 } ,
10+ { componentName : "Card with button" , component : cardWithButton } ,
11+ { componentName : "Delete button" , component : deleteButton } ,
12+ { componentName : "Setting button" , component : settingButton } ,
1113
1214] ;
1315
Original file line number Diff line number Diff line change 1+ import { stripIndent } from "react-codepen-prefill-embed" ;
2+
3+ const rectangleSettingButton = stripIndent `<div class="bg-gray-50">
4+ <div class="mx-auto max-w-7xl py-12 px-4 sm:px-6 lg:flex lg:items-center lg:justify-between lg:py-16 lg:px-8">
5+ <div class="mt-8 flex lg:mt-0 lg:flex-shrink-0">
6+ <div class="inline-flex rounded-md shadow">
7+ <a
8+ href="#"
9+ class="inline-flex items-center justify-center rounded-sm border border-blue-400 bg-blue-200 px-5 py-3 text-base font-medium text-blue-500 hover:bg-blue-200">
10+ <span class="mx-2">
11+ <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6">
12+ <path stroke-linecap="round" stroke-linejoin="round" d="M10.5 6h9.75M10.5 6a1.5 1.5 0 11-3 0m3 0a1.5 1.5 0 10-3 0M3.75 6H7.5m3 12h9.75m-9.75 0a1.5 1.5 0 01-3 0m3 0a1.5 1.5 0 00-3 0m-3.75 0H7.5m9-6h3.75m-3.75 0a1.5 1.5 0 01-3 0m3 0a1.5 1.5 0 00-3 0m-9.75 0h9.75" />
13+ </svg>
14+ </span>
15+ Setting
16+ </a>
17+ </div>
18+ </div>
19+ </div>
20+ </div>` ;
21+
22+ export default rectangleSettingButton ;
You can’t perform that action at this time.
0 commit comments