Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Storybook - Changing background to red story
'with red background',
  withNotes('Testing the background color for the editable area by setting it to red')(() => ({
  component: ContentEditableComponent,
  props: {
  styles: { 'background-color': 'red', 'color': '#fff', 'padding': '20px' },
  ngModel: 'The red content goes here',
  ngModelChange: action('ngModelChange')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment