[英]Decrease padding between two row in Grid semantic ui react
我在語義 ui 反應中使用網格,你可以在圖片名稱和暴徒中看到填充我想減少它們之間的這些填充 代碼: ...
[英]Decrease padding between two row in Grid semantic ui react
我在語義 ui 反應中使用網格,你可以在圖片名稱和暴徒中看到填充我想減少它們之間的這些填充 代碼: ...
[英]how to pass different data using navigate to same components in react js (react router dom)
我在側邊欄中有一個側邊欄組件有不同的菜單項當單擊主菜單然后導航到 TabExamplePointing 組件和 TabExamplePointing 組件具有不同的名稱選項卡如 Person1,Person2 等。問題就在這里當我單擊側邊欄上的第二個菜單項通道然后我想要不同的選項卡名稱,如 Yout ...
[英]semantic-ui-react - form input placeholder position
賞金將在 12 小時后到期。 此問題的答案有資格獲得+50聲望賞金。 Shury想讓更多人關注這個問題。 我正在使用semantic-ui-react中的組件來顯示如下所示的Field和Button : 沒什么了不起的,結果如下: 我想將Form.Input中的placeholder重新定位到 ...
[英]How to align column header with data(checkbox header and checkbox data) in react table using semantic ui react
如何使用語義ui反應在反應表中對齊第一列(復選框header和復選框數據) <Table.Body>.map((el) => { return ( <Table.Row key={el.report_ref_no}> <Table.Cell> {" "} ...
[英]semantic-ui-react center elements in a grid container both horizontally and vertically
我有一個包含兩列的語義 UI React Grid container : 結果是: 有什么方法可以像下面這樣在水平和垂直方向Grid container內的元素居中: 在Grid container上使用style={{ display: "flex", alignItems: "center ...
[英]semantic-ui-react Content goes under the menu when it's stackable
我有一個主要組件 包含一個NavBar 這在桌面上看起來不錯 但在移動分辨率下,當菜單堆疊並且某些內容落后於它時。 有什么優雅的方法可以解決這個問題嗎? ...
[英]Semantic UI Sidebar Issue ( Sidebar separating line is not visible)
我在側邊欄中有“主頁”、“聯系人”和“關於”菜單,我希望在這些菜單之間有一條分隔線。 在語義 UI 中反應顯示這些分離但在屏幕上不顯示。 我的 React 代碼如下import "./styles.css"; import React, { Component } from 'react' im ...
[英]How to add button (onclick event) on tabs but not switch the panes - semantic UI
我想在配置了語義 UI 的選項卡列表頂部添加一個按鈕。 目前我有 2 個選項卡,當它們被選中時可以切換到窗格,我有第三個選項卡 - 我不希望它在用戶單擊它時切換,而是發送一個事件(以擴展 UI)或者說一個警告消息. 如何做到這一點? 當前代碼example.js index.js ...
[英]Is there a way to change the background color of a toggle checkbox in semantic ui?
我正在使用語義用戶界面中的切換復選框有沒有辦法將活動切換復選框的背景顏色從藍色更改為綠色? 我在我的 CSS 文件中添加了以下 CSS 片段,但它不起作用 ...
[英]How to stack cards based on length in Semantic Grid
我正在使用 React.js 和語義 UI。 我使用 Semantic UI 中的 Grid 將卡片(框)放置在網格中。 如何使網格行像下面的圖像一樣堆疊? 我希望將卡片元素行到 go 到此時最短的列? 有沒有辦法做到這一點? 目前它只是在藍色和綠色之間留下一點差距(等於藍色和紅色之間的差異)。 ...
[英]How to hide dropdown icon in react semantic ul
我將使用 react semantic ui 中的下拉菜單選項之一,並且我想擺脫下拉圖標。 文檔: https ://react.semantic-ui.com/modules/dropdown/#types-pointing ...
[英]semantic ui: className doesn't work while style does
添加樣式屬性有效 雖然添加類不會: 在這種情況下,您會建議做什么? 我不想重復內聯樣式 ...
[英]semantic-ui-react elements all have error "cannot be used as a JSX component"
我在 typescript 中有一個 React 應用程序,它使用語義-ui-react,但由於所有 SUR 元素都有錯誤“不能用作 JSX 組件”,因此將不再編譯。 這個應用程序已經使用了大約 2 年,今天開始拋出這個編譯錯誤。 我嘗試過的事情: 移除 yarn lock 和 node_m ...
[英]Default multiple labels with semantic UI react drop down
我正在使用語義反應下拉列表,我正在嘗試獲取它,因此選項已經作為多個標簽出現在下拉列表中,但我似乎無法將它們添加為默認值然后我希望能夠添加更多我認為我可以已經處理了這個例子,但我遇到的問題主要有多個默認倍數 label 有沒有人可以提供幫助 當我嘗試向默認值 label 添加任何內容時,我一直在獲取此 ...
[英]Semantic UI React getting input value by input name
有沒有辦法在 React 中按名稱獲取語義 ui 反應輸入的值? 例如,我有以下代碼: 我希望通過 id 數組 handlesubmit 到 go,並通過其 id 獲取輸入的值。 ...
[英]What does the error JSX element type 'Header' does not have any construct or call signatures" mean?
我寫了這段代碼,錯誤顯示在 Header 和列表中。 它一直說 JSX 元素類型 Header 沒有任何構造......? ...
[英]react semantic dropdown not working on Enter key
當我輸入值並輸入時,我在輸入中獲取了值,但代碼沒有生成值。 ...
[英]Semantic-UI-react: How to make background un-tabbable behind modal
我有一個使用 semantic-ui-react 的工作模式,但我意識到即使道具 closeOnDimmerClick 和 closeOnEscape 設置為 false,我的內容在后台也是可切換的。 我怎樣才能防止這種行為? ...
[英]What is the purpose of create method in Semantic React UI component
我嘗試了解更多有關 Semantic React UI 的信息。 但是我有一個我不明白的行代碼。 有人可以向我解釋這種方法的目的嗎?Button.create = createShorthandFactory(Button, (value) => ({ content: value })) ...
[英]How To: semantic-ui-react drop down passing drop-down selection to other component
我有一個使用兩個子組件Chart和Artists的父組件( App )。 Artists組件是使用semantic-ui-react庫創建的下拉菜單。 我想要做的是將下拉菜單變成它自己的組件( Artists ),當更改時,將更改父組件( App )中的artist state 然后App中的ar ...