import React from
"react"
;
import
"@blueprintjs/core/lib/css/blueprint.css"
;
import { Button, ButtonGroup } from
"@blueprintjs/core"
;
export
default
function
App() {
return
(
<div style={{ margin: 100 }}>
<h1 style={{ color:
"green"
}}>
GeeksforGeeks
</h1>
<h3>
React.js Blueprint Button group Component Flex layout
</h3>
<p>Applying no fill prop.</p>
<ButtonGroup>
<Button intent=
"primary"
>
Button One
</Button>
<Button intent=
"success"
>
Button Two
</Button>
<Button intent=
"warning"
>
Button Three
</Button>
</ButtonGroup>
<br /><br />
<p>Applying fill prop to the button group. </p>
<ButtonGroup fill>
<Button intent=
"primary"
>
Button One
</Button>
<Button intent=
"success"
>
Button Two
</Button>
<Button intent=
"warning"
>
Button Three
</Button>
</ButtonGroup>
<br />
<p>Applying custom CSS.</p>
<ButtonGroup>
<Button intent=
"primary"
style={{ width:
"200px"
}}>
Button One
</Button>
<Button intent=
"success"
style={{ width:
"250px"
}}>
Button Two
</Button>
<Button intent=
"warning"
style={{ width:
"350px"
}}>
Button Three
</Button>
</ButtonGroup>
<br /><br />
<p>Applying fill prop to the individual button.</p>
<Button fill intent=
"success"
>
Button One
</Button>
</div >
);
}