material-ui

    7熱度

    1回答

    我使用的材料UI版本1.此命令安裝: npm install -S [email protected] 每次我想使用時間 ,不需要的水平滾動出現在頁面上。例如這是一個簡單的代碼: import React from 'react'; import PropTypes from 'prop-types'; import { withStyles, createStyleSheet } fro

    2熱度

    1回答

    我正在使用Material-ui構建預訂系統。在我的DatePicker中,我的hintText是白色的,幾乎看不見,我想把顏色改成黑色。我用的例子我的代碼 https://github.com/callemall/material-ui/issues/3753和https://github.com/callemall/material-ui/issues/5737 我也試圖從材料的UI網站的榜樣

    0熱度

    1回答

    AutoComplete使用Menu來呈現MenuItems,如這些頁面上的文檔所示。 我需要更改懸停的MenuItem的backgroundColor。我可以通過使用「menuItemStyle」來更改所有項目的顏色,該菜單需要一個樣式對象,但我不確定懸停樣式的語法在Material-UI樣式對象中。

    0熱度

    1回答

    我正在使用最後一個Material-UI反應組件庫,並嘗試通過整個表添加全局搜索。我嘗試使用正則表達式來處理全局和區分大小寫的行爲。但我會發現錯誤: match is not a function 誰知道如何使用Material-UI表添加搜索的更好解決方案。 Online VS Code IDE 搜索字段功能 const columnData = [ { id: 'name', num

    4熱度

    1回答

    有幾個material-ui組件不會在父組件放置位置的同一位置呈現結果。其中,我們有Dialog,Menu等 這使得它顯然不可能以測試與安裝在它的一些父組件一jest.js包裝其內容的存在。 例如獲得以下幾方面組成: class DropdownMenu extends React.Component { onButtonClick = (e) => { this.setSta

    0熱度

    1回答

    想知道如何自定義根元素 http://www.material-ui.com/#/components/dialog犯規解釋如何添加一個類的根元素 root: { position: 'fixed', boxSizing: 'border-box', WebkitTapHighlightColor: 'rgba(0,0,0,0)', // Remove mobile

    1熱度

    3回答

    是否可以從Material-UI標題設置AppBar而不是內聯方式? 我有一個css文件分開,我想改變標題的大小,例如。 某事像這樣: .app-bar title { font-size: 120px !important; } 謝謝:)

    0熱度

    1回答

    我想使用Lodash獲取同一行中顯示的字符串的兩個對象?或者可以使用鏈(_chain(vehicle).get('test')。get('test2))。 這是樣品JSON文件 { "results": [ { "vehicle": { "plate_no": "ABC 1234", "model": "Toyota Innova

    0熱度

    1回答

    如何禁用材料按鈕覆蓋RaisedButton。 我有一個模式窗口,當我打開它 - 按鈕仍然顯示。 我應該向我的按鈕添加什麼屬性來禁用疊加? 請誰與material-ui一起工作,幫忙。 屏幕是波紋管 我試圖用的z-index爲按鈕的容器,但並沒有幫助

    1熱度

    2回答

    材質界面如何在觸摸時獲取MenuItem的鍵和值。 的代碼片段如下圖所示: <Link style={{ textDecoration: 'none' }} to='/'> <MenuItem key='somekey' value='somevalue' onTouchTap={this.menuItemTap}>my menu item </MenuItem> </Link>