123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162 |
- // Jest Snapshot v1, https://goo.gl/fbAQLP
- exports[`styled-components.js 1`] = `
- const ListItem = styled.li\`\`;
- const ListItem = styled.li\` \`;
- const Dropdown = styled.div\`position: relative;\`
- const Button = styled.button\`
- color: palevioletred ;
- font-size : 1em ;
- \`;
- const TomatoButton = Button.extend\`
- color : tomato ;
- border-color : tomato
- ;
- \`;
- Button.extend.attr({})\`
- border-color : black;
- \`
- styled(ExistingComponent)\`
- color : papayawhip ; background-color: firebrick\`;
- styled.button.attr({})\`
- border : rebeccapurple\`;
- styled(ExistingComponent).attr({})\`
- border : rebeccapurple\`;
- styled.div\`
- color: \${props => props.theme.colors.paragraph};
- /* prettier-ignore */
- \${props => props.small ? 'font-size: 0.8em;' : ''};
- \`
- styled.div\`
- color: \${props => props.theme.colors.paragraph};
- /* prettier-ignore */
- \${props => props.small ? 'font-size: 0.8em;' : ''}
- \`
- styled.div\`
- /* prettier-ignore */
- color: \${props => props.theme.colors.paragraph};
- \${props => props.small ? 'font-size: 0.8em;' : ''};
- \`
- styled.div\`
- color: \${props => props.theme.colors.paragraph};
- /* prettier-ignore */
- \${props => props.small ? 'font-size: 0.8em;' : ''};
- /* prettier-ignore */
- \${props => props.red ? 'color: red;' : ''};
- \`
- styled.div\`
- /* prettier-ignore */
- color: \${props => props.theme.colors.paragraph};
- /* prettier-ignore */
- \${props => props.small ? 'font-size: 0.8em;' : ''};
- /* prettier-ignore */
- \${props => props.red ? 'color: red;' : ''};
- /* prettier-ignore */
- \`
- styled.div\`
- \${sanitize} \${fonts}
- html {
- margin: 0;
- }
- \`
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- const ListItem = styled.li\`\`;
- const ListItem = styled.li\`\`;
- const Dropdown = styled.div\`
- position: relative;
- \`;
- const Button = styled.button\`
- color: palevioletred;
- font-size: 1em;
- \`;
- const TomatoButton = Button.extend\`
- color: tomato;
- border-color: tomato;
- \`;
- Button.extend.attr({})\`
- border-color: black;
- \`;
- styled(ExistingComponent)\`
- color: papayawhip;
- background-color: firebrick;
- \`;
- styled.button.attr({})\`
- border: rebeccapurple;
- \`;
- styled(ExistingComponent).attr({})\`
- border: rebeccapurple;
- \`;
- styled.div\`
- color: \${props => props.theme.colors.paragraph};
- /* prettier-ignore */
- \${props => (props.small ? "font-size: 0.8em;" : "")};
- \`;
- styled.div\`
- color: \${props => props.theme.colors.paragraph};
- /* prettier-ignore */
- \${props => (props.small ? "font-size: 0.8em;" : "")}
- \`;
- styled.div\`
- /* prettier-ignore */
- color: \${props => props.theme.colors.paragraph};
- \${props => (props.small ? "font-size: 0.8em;" : "")};
- \`;
- styled.div\`
- color: \${props => props.theme.colors.paragraph};
- /* prettier-ignore */
- \${props => (props.small ? "font-size: 0.8em;" : "")};
- /* prettier-ignore */
- \${props => (props.red ? "color: red;" : "")};
- \`;
- styled.div\`
- /* prettier-ignore */
- color: \${props => props.theme.colors.paragraph};
- /* prettier-ignore */
- \${props => (props.small ? "font-size: 0.8em;" : "")};
- /* prettier-ignore */
- \${props => (props.red ? "color: red;" : "")};
- /* prettier-ignore */
- \`;
- styled.div\`
- \${sanitize} \${fonts}
- html {
- margin: 0;
- }
- \`;
- `;
|