3.0.4 • Published 8 months ago

@codecademy/macros v3.0.4

Weekly downloads
790
License
MIT
Repository
github
Last release
8 months ago

@codecademy/macros

Simple babel utility macros.

Usage

title.macro

This is used to derive the correct story hierarchy from the file path ensuring the file system and storybook hierarchy will be identical.

// stories/Atoms/Button.stories.mdx
import title from '@codecademy/macros/lib/title.macro';

console.log(title); // Atoms/Button
3.0.4

8 months ago

3.0.3

8 months ago

3.0.2

2 years ago

3.0.1

2 years ago

3.0.0

3 years ago

2.2.1

3 years ago

2.2.0

3 years ago

2.1.1

3 years ago

2.1.0

3 years ago

2.0.0

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago