mirror of
https://github.com/microsoft/frontend-bootcamp.git
synced 2026-01-26 14:56:42 +08:00
Merge branch 'master' into fixes
This commit is contained in:
@@ -87,7 +87,7 @@ The `styles` prop can take either an object, or a function which returns a style
|
||||
|
||||
The following code (simplified from `demo/src/components/TodoHeader.tsx`) demonstrates using `styles` to customize individual components. The TextField uses a style function and the PrimaryButton uses a style object.
|
||||
|
||||
```ts
|
||||
```js
|
||||
function render() {
|
||||
const buttonStyles = {
|
||||
root: { backgroundColor: 'maroon' },
|
||||
|
||||
Reference in New Issue
Block a user