@react-slices/components
v0.0.5
Published
React Component library
Downloads
2
Maintainers
Readme
@react-slices/components
React helper components for small functionalities and some CSS interactive modified HTML components
CopyToClipboardIcon
import { CopyToClipboardIcon } from '@react-slices/components';
<CopyToClipboardIcon text={'text to copy onclick'} containerClassName="" iconClassName="" style={{ color: 'red' }} inline={true || false} />;
Example with children
<CopyToClipboardIcon text={'text to copy onclick'} containerClassName="" iconClassName="">
Copy Text or your icon
</CopyToClipboardIcon>
Button
import { Button } from '@react-slices/components';
<Button label={'Button Initial Label'} hoverText={'Text on hover'} containerClassName="" buttonClassName="" style={{ color: 'red' }} />;
Example with children
<Button text={'text to copy onclick'} containerClassName="" buttonClassName="">
any child
</Button>