-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #97 from vrk-kpa/feature/color-token-depthSecondar…
…yDark3 Feature/color token depth secondary dark3
- Loading branch information
Showing
10 changed files
with
209 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import React from 'react'; | ||
import styled from '@emotion/styled'; | ||
import classnames from 'classnames'; | ||
import { unStyled } from './Button.baseStyles'; | ||
import { Button, ButtonProps } from '../../components/Button/Button'; | ||
|
||
const baseClassName = 'fi-button'; | ||
|
||
export const UnstyledButton = styled((props: ButtonProps) => { | ||
const { className, ...passProps } = props; | ||
return ( | ||
<Button {...passProps} className={classnames(className, baseClassName)} /> | ||
); | ||
})` | ||
${props => unStyled(props)} | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
```js | ||
import { Toggle } from 'suomifi-ui-components'; | ||
|
||
<Toggle onClick={({ toggleState }) => console.log(toggleState)}> | ||
Test | ||
</Toggle> | ||
</Toggle>; | ||
``` |
Oops, something went wrong.