Skip to content

Instantly share code, notes, and snippets.

@debabratakarfa
Created April 11, 2019 10:20
Show Gist options
  • Save debabratakarfa/f1ab28e9267d9eb2c89458a3614370ab to your computer and use it in GitHub Desktop.
Save debabratakarfa/f1ab28e9267d9eb2c89458a3614370ab to your computer and use it in GitHub Desktop.
React
import React from 'react'
import Button from '@bit/semantic-org.semantic-ui-react.button'
const style = <link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/semantic-ui@2.4.1/dist/semantic.min.css'/>
const ButtonExampleGroupOrSize = () => (
<Button.Group size='large'>
<Button>One</Button>
<Button.Or />
<Button>Two</Button>
<Button.Or />
<Button>Three</Button>
</Button.Group>
)
export default () => (<div>{style}<ButtonExampleGroupOrSize/></div>)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment