Skip to content

Instantly share code, notes, and snippets.

@necolas necolas/button.js
Last active Apr 22, 2016

Embed
What would you like to do?
import styles from './styles.css';
import testIDs from './testIDs';
export render = (text) => (
<button className={styles.button} data-test-id={testsIDs.button}>
<span className={styles.icon}></span>
{text}
</button>
);
module.exports = {
button: 'button'
};
import testIDs from 'button/testIDs';
const button = findElementByTestId(testIDs.button);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.