carbon-components
Version:
Carbon Components is a component library for IBM Cloud
34 lines (33 loc) • 1.22 kB
JavaScript
module.exports = {
variants: [{
name: 'default',
label: 'Single Line',
notes: '\n Code snippets are small blocks of reusable code that can be inserted in a code file.\n\n The Single style is for single-line code snippets.\n ',
context: {
variant: 'single'
}
}, {
name: 'multi',
label: 'Multi Line',
notes: '\n Code snippets are small blocks of reusable code that can be inserted in a code file.\n\n The Multi-line style is for larger code blocks.\n ',
context: {
variant: 'multi'
}
}, {
name: 'inline',
label: 'Inline',
notes: '\n Code snippets are small blocks of reusable code that can be inserted in a code file.\n\n The inline style is for code blocks within a block of text on a white background.\n ',
context: {
variant: 'inline'
}
}, {
name: 'inline-light',
label: 'Inline (Light)',
notes: '\n Code snippets are small blocks of reusable code that can be inserted in a code file.\n\n The inline style is for code blocks within a block of text.\n ',
context: {
variant: 'inline',
light: 'true'
}
}]
};
;