Skip to content
This repository has been archived by the owner on Mar 4, 2020. It is now read-only.

Commit

Permalink
updating some styles according with latest changes
Browse files Browse the repository at this point in the history
  • Loading branch information
alinais committed Sep 19, 2018
1 parent aa9613c commit 1bfab98
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions docs/src/views/Theming.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,16 +134,14 @@ export default () => (
<ExampleSnippet
value={[
`<Button`,
` icon="user"`,
` icon={{ name: "user", styles: { borderBottom: '4px solid red' } }}`,
` content="Profile"`,
` styles={{ icon: { borderBottom: '4px solid red' } }}`,
`/>`,
].join('\n')}
render={() => (
<Button
icon="user"
icon={{ name: 'user', styles: { borderBottom: '4px solid red' } }}
content="Profile"
styles={{ icon: { borderBottom: '4px solid red' } }}
/>
)}
/>
Expand All @@ -156,9 +154,9 @@ export default () => (
value={[
`const style = { color: 'green' }`,
``,
`<Text styles={{ root: { style } }}>This is green text</Text>`,
`<Text styles={{ style }}>This is green text</Text>`,
].join('\n')}
render={() => <Text styles={{ root: { color: 'green' } }}>This is green text.</Text>}
render={() => <Text styles={{ color: 'green' }}>This is green text.</Text>}
/>
</DocPage>
)

0 comments on commit 1bfab98

Please sign in to comment.