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