amis/__tests__/renderers/__snapshots__/Action.test.tsx.snap

98 lines
1.5 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Renderers:Action [actionType = "link"] show active class 1`] = `
<button
className="a-Button a-Button--default a"
onClick={[Function]}
type="button"
>
<span>
123
</span>
</button>
`;
exports[`Renderers:Action [actionType = "link"] show active class 2`] = `
<button
className="a-Button a-Button--default a is-active"
onClick={[Function]}
type="button"
>
<span>
123
</span>
</button>
`;
exports[`Renderers:Action MenuItem changes class when actived & disabled 1`] = `
<a
className="a"
onClick={[Function]}
>
123
</a>
`;
exports[`Renderers:Action MenuItem changes class when actived & disabled 2`] = `
<a
className="a is-active"
onClick={[Function]}
>
233
</a>
`;
exports[`Renderers:Action MenuItem changes class when actived & disabled 3`] = `
<a
className="a is-active is-disabled"
onClick={[Function]}
>
233
</a>
`;
exports[`Renderers:Action MenuItem display icon 1`] = `
<a
className="a"
onClick={[Function]}
>
123
</a>
`;
exports[`Renderers:Action MenuItem display icon 2`] = `
<a
className="a"
onClick={[Function]}
>
123
<i
className="a-Button-icon fa fa-cloud"
/>
</a>
`;
exports[`Renderers:Action custom activeClass 1`] = `
<button
className="a-Button a-Button--default a"
onClick={[Function]}
type="button"
>
<span>
123
</span>
</button>
`;
exports[`Renderers:Action custom activeClass 2`] = `
<button
className="a-Button a-Button--default a custom-active"
onClick={[Function]}
type="button"
>
<span>
123
</span>
</button>
`;